Package org.jboss.as.controller
Enum Class ProcessType
- All Implemented Interfaces:
Serializable,Comparable<ProcessType>,Constable
Holds the possible process types. This is used to identify what type of server we are running in.
Extensions can use this information to decide whether certain resources, operations or attributes
need to be present. OperationStepHandlers can use this to determine how to handle operations.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Method Summary
Modifier and TypeMethodDescriptionbooleanGets whether the process is an embedded process.booleanReturns true if the process is a host controller,booleanReturns true if the process is a managed domain process.booleanisServer()Returns true if the process is one of the server variants.static ProcessTypeReturns the enum constant of this class with the specified name.static ProcessType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
DOMAIN_SERVER
-
EMBEDDED_SERVER
-
STANDALONE_SERVER
-
HOST_CONTROLLER
-
EMBEDDED_HOST_CONTROLLER
-
APPLICATION_CLIENT
-
SELF_CONTAINED
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
isServer
public boolean isServer()Returns true if the process is one of the server variants.- Returns:
- Returns true if the process is a server. Returns false otherwise.
-
isHostController
public boolean isHostController()Returns true if the process is a host controller,- Returns:
- Returns true if the process is a hostcontroller. Returns false otherwise.
-
isManagedDomain
public boolean isManagedDomain()Returns true if the process is a managed domain process.- Returns:
- Returns true if the process is a managed domain process. Returns false otherwise.
-
isEmbedded
public boolean isEmbedded()Gets whether the process is an embedded process.- Returns:
- true if the process is an embedded process; false otherwise.
-