Package com.ultikits.ultitools.manager
Enum Class ServerPropertiesManager.PropertiesSnapshot.Outcome
java.lang.Object
java.lang.Enum<ServerPropertiesManager.PropertiesSnapshot.Outcome>
com.ultikits.ultitools.manager.ServerPropertiesManager.PropertiesSnapshot.Outcome
- All Implemented Interfaces:
Serializable,Comparable<ServerPropertiesManager.PropertiesSnapshot.Outcome>,java.lang.constant.Constable
- Enclosing class:
ServerPropertiesManager.PropertiesSnapshot
public static enum ServerPropertiesManager.PropertiesSnapshot.Outcome
extends Enum<ServerPropertiesManager.PropertiesSnapshot.Outcome>
Why
ServerPropertiesManager.readVersioned(int) did or did not produce values.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe file breaks the contract's file-content rule, or the server could not parse it.The server root holds no server.properties.Values, writable keys and version describe one file state.The file exists but could not be read. -
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
-
OK
Values, writable keys and version describe one file state. -
NOT_FOUND
The server root holds no server.properties. -
FILE_NOT_EDITABLE
The file breaks the contract's file-content rule, or the server could not parse it. -
UNREADABLE
The file exists but could not be read.
-
-
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
-