Enum ServerConfigStatus
- java.lang.Object
-
- java.lang.Enum<ServerConfigStatus>
-
- org.jboss.hal.core.runtime.server.ServerConfigStatus
-
- All Implemented Interfaces:
Serializable,Comparable<ServerConfigStatus>
public enum ServerConfigStatus extends Enum<ServerConfigStatus>
Status as defined byserver-config.status
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ServerConfigStatusvalueOf(String name)Returns the enum constant of this type with the specified name.static ServerConfigStatus[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DISABLED
public static final ServerConfigStatus DISABLED
-
STARTING
public static final ServerConfigStatus STARTING
-
STARTED
public static final ServerConfigStatus STARTED
-
STOPPING
public static final ServerConfigStatus STOPPING
-
STOPPED
public static final ServerConfigStatus STOPPED
-
FAILED
public static final ServerConfigStatus FAILED
-
UNKNOWN
public static final ServerConfigStatus UNKNOWN
-
DOES_NOT_EXIST
public static final ServerConfigStatus DOES_NOT_EXIST
-
UNDEFINED
public static final ServerConfigStatus UNDEFINED
-
-
Method Detail
-
values
public static ServerConfigStatus[] 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 (ServerConfigStatus c : ServerConfigStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ServerConfigStatus 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
-
-