Enum Process.Type
- java.lang.Object
-
- java.lang.Enum<Process.Type>
-
- org.wildfly.extension.core.management.client.Process.Type
-
- All Implemented Interfaces:
Serializable,Comparable<Process.Type>
- Enclosing class:
- Process
public static enum Process.Type extends Enum<Process.Type>
The type of the process
-
-
Enum Constant Summary
Enum Constants Enum Constant Description APPLICATION_CLIENTDOMAIN_SERVEREMBEDDED_HOST_CONTROLLEREMBEDDED_SERVERHOST_CONTROLLERSELF_CONTAINEDSTANDALONE_SERVER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Process.Typefrom(String processTypeName)StringtoString()static Process.TypevalueOf(String name)Returns the enum constant of this type with the specified name.static Process.Type[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DOMAIN_SERVER
public static final Process.Type DOMAIN_SERVER
-
EMBEDDED_SERVER
public static final Process.Type EMBEDDED_SERVER
-
STANDALONE_SERVER
public static final Process.Type STANDALONE_SERVER
-
HOST_CONTROLLER
public static final Process.Type HOST_CONTROLLER
-
EMBEDDED_HOST_CONTROLLER
public static final Process.Type EMBEDDED_HOST_CONTROLLER
-
APPLICATION_CLIENT
public static final Process.Type APPLICATION_CLIENT
-
SELF_CONTAINED
public static final Process.Type SELF_CONTAINED
-
-
Method Detail
-
values
public static Process.Type[] 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.Type c : Process.Type.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.Type 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
-
from
public static Process.Type from(String processTypeName)
-
toString
public String toString()
- Overrides:
toStringin classEnum<Process.Type>
-
-