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