public static enum AltAccountBan.BanAltAction extends Enum<AltAccountBan.BanAltAction>
Modifier and Type | Method and Description |
---|---|
static AltAccountBan.BanAltAction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AltAccountBan.BanAltAction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AltAccountBan.BanAltAction ALERT
public static final AltAccountBan.BanAltAction ALERT_MOD
public static final AltAccountBan.BanAltAction BAN
public static final AltAccountBan.BanAltAction BAN_ALL
public static AltAccountBan.BanAltAction[] values()
for (AltAccountBan.BanAltAction c : AltAccountBan.BanAltAction.values()) System.out.println(c);
public static AltAccountBan.BanAltAction 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 null