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