public enum GroupGiveawayStatus extends java.lang.Enum<GroupGiveawayStatus> implements BetterEnum<java.lang.Integer>
Enum Constant and Description |
---|
ACTIVE |
CLAIMED |
ENDED |
INACTIVE |
ROLLING |
WAITINGFORCLAIM |
Modifier and Type | Method and Description |
---|---|
java.lang.Integer |
getValue() |
static GroupGiveawayStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static GroupGiveawayStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GroupGiveawayStatus ACTIVE
public static final GroupGiveawayStatus ROLLING
public static final GroupGiveawayStatus WAITINGFORCLAIM
public static final GroupGiveawayStatus CLAIMED
public static final GroupGiveawayStatus ENDED
public static final GroupGiveawayStatus INACTIVE
public static GroupGiveawayStatus[] values()
for (GroupGiveawayStatus c : GroupGiveawayStatus.values()) System.out.println(c);
public static GroupGiveawayStatus 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@Nonnull public java.lang.Integer getValue()
getValue
in interface BetterEnum<java.lang.Integer>