public static enum Method.PayloadExpectation extends Enum<Method.PayloadExpectation>
Enum Constant and Description |
---|
ALLOWED |
NOT_ALLOWED |
UNDEFINED |
Modifier and Type | Method and Description |
---|---|
static Method.PayloadExpectation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Method.PayloadExpectation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Method.PayloadExpectation ALLOWED
public static final Method.PayloadExpectation NOT_ALLOWED
public static final Method.PayloadExpectation UNDEFINED
public static Method.PayloadExpectation[] values()
for (Method.PayloadExpectation c : Method.PayloadExpectation.values()) System.out.println(c);
public static Method.PayloadExpectation 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 nullCopyright © 2015 Oracle Corporation. All rights reserved.