Enum Class NodeExecutionStateType
java.lang.Object
java.lang.Enum<NodeExecutionStateType>
com.evolveum.midpoint.xml.ns._public.common.common_3.NodeExecutionStateType
- All Implemented Interfaces:
TypeSafeEnum
,Serializable
,Comparable<NodeExecutionStateType>
,Constable
Node state from the user's point of view.
TODO decide what to do with this data type.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionState unknown due to communication error.Node is turned off (its "running" flag is set to false).Node error (see NodeErrorStateType for more details).Node has not checked in for at least "nodeTimeout" seconds (default is 30).Node is running, scheduler is paused.Node is running, task scheduler is running.Node is starting. -
Method Summary
Modifier and TypeMethodDescriptionstatic NodeExecutionStateType
value()
Returns enum value defined as in schema.static NodeExecutionStateType
Returns the enum constant of this class with the specified name.static NodeExecutionStateType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
RUNNING
Node is running, task scheduler is running. -
PAUSED
Node is running, scheduler is paused. -
NOT_CHECKING_IN
Node has not checked in for at least "nodeTimeout" seconds (default is 30). But it has not declared itself as turned off. Note that other nodes can declare a node as turned off after not checking in for "nodeAlivenessTimeout" seconds (default is 900). This state is available only for remote nodes, of course. -
STARTING
Node is starting. It is expected it will be alive soon but should not be contacted via REST yet. -
DOWN
Node is turned off (its "running" flag is set to false). It either declares itself to be in this state when going down, or other nodes can do it after it does not check in for "nodeAlivenessTimeout" seconds (default is 900). -
ERROR
Node error (see NodeErrorStateType for more details). -
COMMUNICATION_ERROR
State unknown due to communication error.
-
-
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
-
value
Description copied from interface:TypeSafeEnum
Returns enum value defined as in schema.- Specified by:
value
in interfaceTypeSafeEnum
- Returns:
-
fromValue
-