Package org.glassfish.api.admin
Enum Class RuntimeType
- All Implemented Interfaces:
Serializable
,Comparable<RuntimeType>
,java.lang.constant.Constable
Defines a server process type.
- Author:
- Jerome Dochez
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionAll instances in the domainthe Domain Administration ServerEmbeddeda single instance or a clustered instance ?need to dissambiguate?the node agent processThe local single instance on which the command will run -
Method Summary
Modifier and TypeMethodDescriptionstatic final RuntimeType
final boolean
final boolean
isDas()
final boolean
final boolean
final boolean
final boolean
static RuntimeType
Returns the enum constant of this class with the specified name.static RuntimeType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
DAS
the Domain Administration Server -
NODE_AGENT
the node agent process -
INSTANCE
a single instance or a clustered instance ?need to dissambiguate? -
EMBEDDED
Embedded -
SINGLE_INSTANCE
The local single instance on which the command will run -
ALL
All instances in the domain
-
-
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
-
isInstance
public final boolean isInstance() -
isDas
public final boolean isDas() -
isNodeAgent
public final boolean isNodeAgent() -
isEmbedded
public final boolean isEmbedded() -
isBroadcast
public final boolean isBroadcast() -
isSingleInstance
public final boolean isSingleInstance() -
getDefault
-