public static enum Decision.Type extends java.lang.Enum<Decision.Type>
Modifier and Type | Method and Description |
---|---|
static Decision.Type |
readFrom(StreamInput in) |
static Decision.Type |
resolve(java.lang.String s) |
static Decision.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Decision.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
static void |
writeTo(Decision.Type type,
StreamOutput out) |
public static final Decision.Type YES
public static final Decision.Type NO
public static final Decision.Type THROTTLE
public static Decision.Type[] values()
for (Decision.Type c : Decision.Type.values()) System.out.println(c);
public static Decision.Type valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static Decision.Type resolve(java.lang.String s)
public static Decision.Type readFrom(StreamInput in) throws java.io.IOException
java.io.IOException
public static void writeTo(Decision.Type type, StreamOutput out) throws java.io.IOException
java.io.IOException