Package com.ultikits.ultitools.manager
Enum Class ServerPropertiesManager.PropertiesUpdateResult.Outcome
java.lang.Object
java.lang.Enum<ServerPropertiesManager.PropertiesUpdateResult.Outcome>
com.ultikits.ultitools.manager.ServerPropertiesManager.PropertiesUpdateResult.Outcome
- All Implemented Interfaces:
Serializable,Comparable<ServerPropertiesManager.PropertiesUpdateResult.Outcome>,java.lang.constant.Constable
- Enclosing class:
ServerPropertiesManager.PropertiesUpdateResult
public static enum ServerPropertiesManager.PropertiesUpdateResult.Outcome
extends Enum<ServerPropertiesManager.PropertiesUpdateResult.Outcome>
The overall outcome of one update.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionEvery requested key was written.The file no longer hashed to the base version; nothing was written.The server root holds no server.properties.At least one key was refused or absent; the accepted keys were written.The file could not be read or written; nothing was written. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
APPLIED
Every requested key was written. -
PARTIAL
At least one key was refused or absent; the accepted keys were written. -
FILE_CHANGED
The file no longer hashed to the base version; nothing was written. -
NOT_FOUND
The server root holds no server.properties. -
REFUSED
The file could not be read or written; nothing was written.
-
-
Constructor Details
-
Outcome
private Outcome()
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-