Enum Process.RunningState
- java.lang.Object
-
- java.lang.Enum<Process.RunningState>
-
- org.wildfly.extension.core.management.client.Process.RunningState
-
- All Implemented Interfaces:
Serializable
,Comparable<Process.RunningState>
- Enclosing class:
- Process
public static enum Process.RunningState extends Enum<Process.RunningState>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ADMIN_ONLY
NORMAL
PRE_SUSPEND
STARTING
STOPPED
STOPPING
SUSPENDED
SUSPENDING
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
toString()
static Process.RunningState
valueOf(String name)
Returns the enum constant of this type with the specified name.static Process.RunningState[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
STOPPED
public static final Process.RunningState STOPPED
-
STARTING
public static final Process.RunningState STARTING
-
PRE_SUSPEND
public static final Process.RunningState PRE_SUSPEND
-
NORMAL
public static final Process.RunningState NORMAL
-
ADMIN_ONLY
public static final Process.RunningState ADMIN_ONLY
-
SUSPENDING
public static final Process.RunningState SUSPENDING
-
SUSPENDED
public static final Process.RunningState SUSPENDED
-
STOPPING
public static final Process.RunningState STOPPING
-
-
Method Detail
-
values
public static Process.RunningState[] 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 (Process.RunningState c : Process.RunningState.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Process.RunningState 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
-
toString
public String toString()
- Overrides:
toString
in classEnum<Process.RunningState>
-
-