Package com.ultikits.ultitools.utils
Enum Class ModuleFileTransactions.RollbackPhase
java.lang.Object
java.lang.Enum<ModuleFileTransactions.RollbackPhase>
com.ultikits.ultitools.utils.ModuleFileTransactions.RollbackPhase
- All Implemented Interfaces:
Serializable,Comparable<ModuleFileTransactions.RollbackPhase>,java.lang.constant.Constable
- Enclosing class:
ModuleFileTransactions
private static enum ModuleFileTransactions.RollbackPhase
extends Enum<ModuleFileTransactions.RollbackPhase>
Which start-up step a rollback is finished from; it decides what the log line says.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAfter the modules loaded and the module was not among them; the old version loads next start.Before loading, finishing a rollback an earlier start decided but could not complete.Before loading, for an update the previous start applied but never decided. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static ModuleFileTransactions.RollbackPhase[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
AFTER_LOAD
After the modules loaded and the module was not among them; the old version loads next start. -
UNCONFIRMED
Before loading, for an update the previous start applied but never decided. -
RESUMED
Before loading, finishing a rollback an earlier start decided but could not complete.
-
-
Constructor Details
-
RollbackPhase
private RollbackPhase()
-
-
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
-