public enum ProcessType extends Enum<ProcessType>
Extension
s can use this information to decide whether certain resources, operations or attributes
need to be present. OperationStepHandler
s can use this to determine how to handle operations.Enum Constant and Description |
---|
APPLICATION_CLIENT |
DOMAIN_SERVER |
EMBEDDED_HOST_CONTROLLER |
EMBEDDED_SERVER |
HOST_CONTROLLER |
SELF_CONTAINED |
STANDALONE_SERVER |
Modifier and Type | Method and Description |
---|---|
boolean |
isManagedDomain()
Returns true if the process is a managed domain process.
|
boolean |
isServer()
Returns true if the process is one of the server variants.
|
static ProcessType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ProcessType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProcessType DOMAIN_SERVER
public static final ProcessType EMBEDDED_SERVER
public static final ProcessType STANDALONE_SERVER
public static final ProcessType HOST_CONTROLLER
public static final ProcessType EMBEDDED_HOST_CONTROLLER
public static final ProcessType APPLICATION_CLIENT
public static final ProcessType SELF_CONTAINED
public static ProcessType[] values()
for (ProcessType c : ProcessType.values()) System.out.println(c);
public static ProcessType 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 boolean isServer()
public boolean isManagedDomain()
Copyright © 2023 JBoss by Red Hat. All rights reserved.