Enum Class SystemSetup.Process
- All Implemented Interfaces:
Serializable,Comparable<SystemSetup.Process>,Constable
- Enclosing class:
- SystemSetup
Describes, when the method should be called. During the init process, during the update process or in both.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe method gets called during init AND update process.The method gets called only during init process.The method uses the setting of the class annotation definition.The method gets called only during update process. -
Method Summary
Modifier and TypeMethodDescriptionbooleanisAll()booleanisInit()booleanisUpdate()static SystemSetup.ProcessReturns the enum constant of this class with the specified name.static SystemSetup.Process[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
INIT
The method gets called only during init process. -
UPDATE
The method gets called only during update process. -
ALL
The method gets called during init AND update process. -
NOTDEFINED
The method uses the setting of the class annotation definition. If also the class annotation is not set ALL is asumed.
-
-
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
-
isInit
public boolean isInit()- Returns:
trueif Process is INIT or ALL.
-
isUpdate
public boolean isUpdate()- Returns:
trueif Process is UPDATE or ALL.
-
isAll
public boolean isAll()- Returns:
trueif Process is ALL.
-