public static enum NextTreatment.Type extends Enum<NextTreatment.Type>
Enum Constant and Description |
---|
ID
The next action is specified by an Integer next id.
|
TREATMENT
The next action is specified by a TrafficTreatment.
|
Modifier and Type | Method and Description |
---|---|
static NextTreatment.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NextTreatment.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NextTreatment.Type TREATMENT
public static final NextTreatment.Type ID
public static NextTreatment.Type[] values()
for (NextTreatment.Type c : NextTreatment.Type.values()) System.out.println(c);
public static NextTreatment.Type 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