@PublicApi public enum ServerLifecycleState extends Enum<ServerLifecycleState>
| Enum Constant and Description |
|---|
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
|
| Modifier and Type | Method and Description |
|---|---|
@Nullable 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.
|
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
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 nameNullPointerException - if the argument is null@Nullable public @Nullable String getSetByUser()
Copyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.