public enum InviteStatus extends Enum<InviteStatus>
| Enum Constant and Description |
|---|
ACCEPTED
User accepted the invite
|
PENDING
First status of anyh invite
|
REJECTED
User rejected the invite
|
RETRACTED
Manager withdrawed the invite
|
| Modifier and Type | Method and Description |
|---|---|
static InviteStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static InviteStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InviteStatus PENDING
public static final InviteStatus ACCEPTED
public static final InviteStatus REJECTED
public static final InviteStatus RETRACTED
public static InviteStatus[] values()
for (InviteStatus c : InviteStatus.values()) System.out.println(c);
public static InviteStatus 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 © 2019. All Rights Reserved.