Package com.atlassian.bamboo
Enum Class NodeLifecycleState
- All Implemented Interfaces:
Serializable
,Comparable<NodeLifecycleState>
,Constable
Represents the node life cycle
- Since:
- 9.5
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionThe node is paused.The node is transitioning toPAUSED
.The node is in transitioning toREADY_FOR_RESTART
state.The node is paused and ready to be restarted.The node is running as the primary node.The node is running as secondary node.The system is undergoing setupThe node is starting -
Method Summary
Modifier and TypeMethodDescriptionstatic NodeLifecycleState
Returns the enum constant of this class with the specified name.static NodeLifecycleState[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SETUP
The system is undergoing setup -
STARTING
The node is starting -
RUNNING
The node is running as the primary node. -
RUNNING_AS_SECONDARY
The node is running as secondary node. -
PAUSING
The node is transitioning toPAUSED
. No builds can be queued at this time. -
PAUSED
The node is paused. No builds are queued or building. -
PREPARING_FOR_RESTART
The node is in transitioning toREADY_FOR_RESTART
state. -
READY_FOR_RESTART
The node is paused and ready to be restarted.
-
-
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
-
getCorrespondingClusterState
-