public enum CommandTarget extends Enum<CommandTarget> implements TargetValidator
| Enum Constant and Description |
|---|
CLUSTER
a cluster configuration change
|
CLUSTERED_INSTANCE
a clustered instance configuration change
|
CONFIG
a config configuration change
|
DAS
configuration change to default server
|
DOMAIN
a domain wide configuration change
|
NODE
a node configuration change
|
STANDALONE_INSTANCE
a standalone instance configuration change
|
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription()
Returns a internalized aware string describing the target type
|
boolean |
isValid(org.glassfish.hk2.api.ServiceLocator habitat,
String target)
returns true if the passed target parameter value is a valid identifier
of a target instance.
|
static CommandTarget |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CommandTarget[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CommandTarget DOMAIN
public static final CommandTarget DAS
public static final CommandTarget CLUSTERED_INSTANCE
public static final CommandTarget STANDALONE_INSTANCE
public static final CommandTarget CONFIG
public static final CommandTarget CLUSTER
public static final CommandTarget NODE
public static CommandTarget[] values()
for (CommandTarget c : CommandTarget.values()) System.out.println(c);
public static CommandTarget 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 isValid(org.glassfish.hk2.api.ServiceLocator habitat,
String target)
TargetValidatorisValid in interface TargetValidatorhabitat - the habitat where to lookup all the target instancestarget - the target identifier to checkpublic String getDescription()
TargetValidatorgetDescription in interface TargetValidatorCopyright © 2013. All Rights Reserved.