public static enum ServerDescriptor.ServerStatus extends Enum<ServerDescriptor.ServerStatus>
Enum Constant and Description |
---|
NOT_CONNECTED_TO_REMOTE
Not connected to remote.
|
STARTED
Server Started.
|
STARTING
Server Starting.
|
STOPPED
Server Stopped.
|
STOPPING
Server Stopping.
|
UNKNOWN
Status Unknown.
|
Modifier and Type | Method and Description |
---|---|
static ServerDescriptor.ServerStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ServerDescriptor.ServerStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ServerDescriptor.ServerStatus STARTED
public static final ServerDescriptor.ServerStatus STOPPED
public static final ServerDescriptor.ServerStatus STARTING
public static final ServerDescriptor.ServerStatus STOPPING
public static final ServerDescriptor.ServerStatus NOT_CONNECTED_TO_REMOTE
public static final ServerDescriptor.ServerStatus UNKNOWN
public static ServerDescriptor.ServerStatus[] values()
for (ServerDescriptor.ServerStatus c : ServerDescriptor.ServerStatus.values()) System.out.println(c);
public static ServerDescriptor.ServerStatus 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 nullCopyright © 2010-2017 ForgeRock AS. All Rights Reserved.