Package com.ultikits.ultitools.manager
Enum Class ServerPropertiesManager.WriteOutcome
java.lang.Object
java.lang.Enum<ServerPropertiesManager.WriteOutcome>
com.ultikits.ultitools.manager.ServerPropertiesManager.WriteOutcome
- All Implemented Interfaces:
Serializable,Comparable<ServerPropertiesManager.WriteOutcome>,java.lang.constant.Constable
- Enclosing class:
ServerPropertiesManager
private static enum ServerPropertiesManager.WriteOutcome
extends Enum<ServerPropertiesManager.WriteOutcome>
What actually happened to one key. 一个键的真实去向。
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionOn the whitelist, but reading or writing the file failed.Not onServerPropertiesManager.SAFE_KEYS; never attempted.Written to disk. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static ServerPropertiesManager.WriteOutcome[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
WRITTEN
Written to disk. 已写入。 -
REJECTED
Not onServerPropertiesManager.SAFE_KEYS; never attempted. 不在白名单,根本没尝试。 -
FAILED
On the whitelist, but reading or writing the file failed. 在白名单里,但读写失败。
-
-
Constructor Details
-
WriteOutcome
private WriteOutcome()
-
-
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
-