Package com.atlassian.bamboo
Enum Class ServerLifecycleState
- All Implemented Interfaces:
Serializable
,Comparable<ServerLifecycleState>
,Constable
Deprecated.
Represents the server life cycle
- Since:
- 3.3
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionDeprecated.The server is paused.Deprecated.The server is transitioning toPAUSED
.Deprecated.The server is in transitioning toREADY_FOR_RESTART
state.Deprecated.The server is paused and ready to be restarted.Deprecated.The server is running as the primary node.Deprecated.The server is running as secondary node.Deprecated.The system is undergoing setupDeprecated.The server is starting -
Method Summary
Modifier and TypeMethodDescriptionstatic @NotNull ServerLifecycleState
fromNodeLifecycleState
(NodeLifecycleState nodeLifecycleState) Deprecated.@NotNull NodeLifecycleState
Deprecated.@Nullable String
Deprecated.static ServerLifecycleState
Deprecated.Returns the enum constant of this class with the specified name.static ServerLifecycleState[]
values()
Deprecated.Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SETUP
Deprecated.The system is undergoing setup- Since:
- 3.3
-
STARTING
Deprecated.The server is starting- Since:
- 3.3
-
RUNNING
Deprecated.The server is running as the primary node.- Since:
- 3.3
-
PAUSING
Deprecated.The server is transitioning toPAUSED
. No builds can be queued at this time.- Since:
- 3.3
-
PREPARING_FOR_RESTART
Deprecated.The server is in transitioning toREADY_FOR_RESTART
state.- Since:
- 5.8
-
READY_FOR_RESTART
Deprecated.The server is paused and ready to be restarted.- Since:
- 5.8
-
PAUSED
Deprecated.The server is paused. No builds are queued or building.- Since:
- 3.3
-
RUNNING_AS_SECONDARY
Deprecated.The server is running as secondary node.- Since:
- 9.4
-
-
Method Details
-
values
Deprecated.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
Deprecated.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
-
fromNodeLifecycleState
@NotNull public static @NotNull ServerLifecycleState fromNodeLifecycleState(NodeLifecycleState nodeLifecycleState) Deprecated. -
getSetByUser
Deprecated.- Returns:
- the username that changed the state. Can be null if no user changed the state
-
getFallbackToNodeLifecycleState
Deprecated.- Returns:
- the
NodeLifecycleState
that thisServerLifecycleState
falls back to. - Since:
- 9.5
-
NodeLifecycleState
instead