Package org.jboss.as.server
Enum ServerEnvironment.LaunchType
- java.lang.Object
-
- java.lang.Enum<ServerEnvironment.LaunchType>
-
- org.jboss.as.server.ServerEnvironment.LaunchType
-
- All Implemented Interfaces:
Serializable,Comparable<ServerEnvironment.LaunchType>
- Enclosing class:
- ServerEnvironment
public static enum ServerEnvironment.LaunchType extends Enum<ServerEnvironment.LaunchType>
The manner in which a server can be launched
-
-
Enum Constant Summary
Enum Constants Enum Constant Description APPCLIENTLaunched by a Java EE appclientDOMAINLaunched by a Host Controller in a managed domainEMBEDDEDLaunched by another process in which the server is embeddedSELF_CONTAINEDLaunched as self-contained WildFly Swarm serverSTANDALONELaunched from the command line
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ProcessTypegetProcessType()static ServerEnvironment.LaunchTypevalueOf(String name)Returns the enum constant of this type with the specified name.static ServerEnvironment.LaunchType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DOMAIN
public static final ServerEnvironment.LaunchType DOMAIN
Launched by a Host Controller in a managed domain
-
STANDALONE
public static final ServerEnvironment.LaunchType STANDALONE
Launched from the command line
-
EMBEDDED
public static final ServerEnvironment.LaunchType EMBEDDED
Launched by another process in which the server is embedded
-
SELF_CONTAINED
public static final ServerEnvironment.LaunchType SELF_CONTAINED
Launched as self-contained WildFly Swarm server
-
APPCLIENT
public static final ServerEnvironment.LaunchType APPCLIENT
Launched by a Java EE appclient
-
-
Method Detail
-
values
public static ServerEnvironment.LaunchType[] 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 (ServerEnvironment.LaunchType c : ServerEnvironment.LaunchType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ServerEnvironment.LaunchType 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
-
getProcessType
public ProcessType getProcessType()
-
-