Enum Class OperatorFileWriter.Outcome
java.lang.Object
java.lang.Enum<OperatorFileWriter.Outcome>
com.ultikits.ultitools.config.document.OperatorFileWriter.Outcome
- All Implemented Interfaces:
Serializable,Comparable<OperatorFileWriter.Outcome>,java.lang.constant.Constable
- Enclosing class:
OperatorFileWriter
What a write did.
-
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 was not what the caller read, or it moved before publishing; nothing was written.The write would have changed bytes it does not own, or the file cannot be written safely.The edit changed nothing; the file was not touched.The edited file was published. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic OperatorFileWriter.OutcomeReturns the enum constant of this class with the specified name.static OperatorFileWriter.Outcome[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
WRITTEN
The edited file was published. -
UNCHANGED
The edit changed nothing; the file was not touched. -
FILE_CHANGED
The file was not what the caller read, or it moved before publishing; nothing was written. -
REFUSED
The write would have changed bytes it does not own, or the file cannot be written safely.
-
-
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
-