|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<ServerLifecycleState>
com.atlassian.bamboo.ServerLifecycleState
@PublicApi public enum ServerLifecycleState
Represents the server life cycle
Enum Constant Summary | |
---|---|
PAUSED
The server is paused. |
|
PAUSING
The server is transitioning to PAUSED . |
|
PREPARING_FOR_RESTART
The server is in transitioning to READY_FOR_RESTART state. |
|
READY_FOR_RESTART
The server is paused and ready to be restarted. |
|
RUNNING
The server is running |
|
SETUP
The system is undergoing setup |
|
STARTING
The server is starting |
Method Summary | |
---|---|
String |
getSetByUser()
|
static ServerLifecycleState |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static ServerLifecycleState[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final ServerLifecycleState SETUP
public static final ServerLifecycleState STARTING
public static final ServerLifecycleState RUNNING
public static final ServerLifecycleState PAUSING
PAUSED
. No builds can be queued at this time.
public static final ServerLifecycleState PREPARING_FOR_RESTART
READY_FOR_RESTART
state.
public static final ServerLifecycleState READY_FOR_RESTART
public static final ServerLifecycleState PAUSED
Method Detail |
---|
public static ServerLifecycleState[] values()
for (ServerLifecycleState c : ServerLifecycleState.values()) System.out.println(c);
public static ServerLifecycleState valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null@Nullable public String getSetByUser()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |