public static enum ServerEnvironment.LaunchType extends Enum<ServerEnvironment.LaunchType>
Enum Constant and Description |
---|
APPCLIENT
Launched by a Java EE appclient
|
DOMAIN
Launched by a Host Controller in a managed domain
|
EMBEDDED
Launched by another process in which the server is embedded
|
SELF_CONTAINED
Launched as a self-contained (no filesystem) server
|
STANDALONE
Launched from the command line
|
Modifier and Type | Method and Description |
---|---|
ProcessType |
getProcessType() |
static ServerEnvironment.LaunchType |
valueOf(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.
|
public static final ServerEnvironment.LaunchType DOMAIN
public static final ServerEnvironment.LaunchType STANDALONE
public static final ServerEnvironment.LaunchType EMBEDDED
public static final ServerEnvironment.LaunchType SELF_CONTAINED
public static final ServerEnvironment.LaunchType APPCLIENT
public static ServerEnvironment.LaunchType[] values()
for (ServerEnvironment.LaunchType c : ServerEnvironment.LaunchType.values()) System.out.println(c);
public static ServerEnvironment.LaunchType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic ProcessType getProcessType()
Copyright © 2023 JBoss by Red Hat. All rights reserved.