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