Enum ServerDescriptor.ServerStatus
- java.lang.Object
-
- java.lang.Enum<ServerDescriptor.ServerStatus>
-
- org.opends.guitools.controlpanel.datamodel.ServerDescriptor.ServerStatus
-
- All Implemented Interfaces:
Serializable,Comparable<ServerDescriptor.ServerStatus>
- Enclosing class:
- ServerDescriptor
public static enum ServerDescriptor.ServerStatus extends Enum<ServerDescriptor.ServerStatus>
Enumeration indicating the status of the server.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ServerDescriptor.ServerStatusvalueOf(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.
-
-
-
Enum Constant Detail
-
STARTED
public static final ServerDescriptor.ServerStatus STARTED
Server Started.
-
STOPPED
public static final ServerDescriptor.ServerStatus STOPPED
Server Stopped.
-
STARTING
public static final ServerDescriptor.ServerStatus STARTING
Server Starting.
-
STOPPING
public static final ServerDescriptor.ServerStatus STOPPING
Server Stopping.
-
NOT_CONNECTED_TO_REMOTE
public static final ServerDescriptor.ServerStatus NOT_CONNECTED_TO_REMOTE
Not connected to remote.
-
UNKNOWN
public static final ServerDescriptor.ServerStatus UNKNOWN
Status Unknown.
-
-
Method Detail
-
values
public static ServerDescriptor.ServerStatus[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ServerDescriptor.ServerStatus c : ServerDescriptor.ServerStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ServerDescriptor.ServerStatus valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException- if the argument is null
-
-