Enum ServerStatus
- java.lang.Object
-
- java.lang.Enum<ServerStatus>
-
- org.jboss.as.controller.client.helpers.domain.ServerStatus
-
- All Implemented Interfaces:
Serializable
,Comparable<ServerStatus>
public enum ServerStatus extends Enum<ServerStatus>
Status of server.- Author:
- Brian Stansberry
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DISABLED
The server is disabled; i.e.DOES_NOT_EXIST
Status indicating the host controller does not recognize the server nameFAILED
The server failed to startSTARTED
The server is startedSTARTING
The server is startingSTOPPED
The server is stoppedSTOPPING
The server is stoppingUNKNOWN
The status of the server is currently unknown.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ServerStatus
valueOf(String name)
Returns the enum constant of this type with the specified name.static ServerStatus[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DISABLED
public static final ServerStatus DISABLED
The server is disabled; i.e. configured not to start automatically
-
STARTING
public static final ServerStatus STARTING
The server is starting
-
STARTED
public static final ServerStatus STARTED
The server is started
-
STOPPING
public static final ServerStatus STOPPING
The server is stopping
-
STOPPED
public static final ServerStatus STOPPED
The server is stopped
-
FAILED
public static final ServerStatus FAILED
The server failed to start
-
UNKNOWN
public static final ServerStatus UNKNOWN
The status of the server is currently unknown. This is the status of any server whose host controller is currently unreachable.
-
DOES_NOT_EXIST
public static final ServerStatus DOES_NOT_EXIST
Status indicating the host controller does not recognize the server name
-
-
Method Detail
-
values
public static 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 (ServerStatus c : 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 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
-
-