public static enum TargetNodeSpec.TargetType extends Enum<TargetNodeSpec.TargetType>
Enum Constant and Description |
---|
MULTIPLE_TARGETS |
SINGLE_TARGET |
Modifier and Type | Method and Description |
---|---|
static TargetNodeSpec.TargetType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TargetNodeSpec.TargetType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TargetNodeSpec.TargetType SINGLE_TARGET
public static final TargetNodeSpec.TargetType MULTIPLE_TARGETS
public static TargetNodeSpec.TargetType[] values()
for (TargetNodeSpec.TargetType c : TargetNodeSpec.TargetType.values()) System.out.println(c);
public static TargetNodeSpec.TargetType 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 null