public enum ELicenseFlags extends Enum<ELicenseFlags>
Enum Constant and Description |
---|
CancelledByAdmin |
CancelledByUser |
Expired |
LowViolenceContent |
None |
Pending |
Renew |
RenewalFailed |
Modifier and Type | Field and Description |
---|---|
private int |
code |
private static HashMap<Integer,ELicenseFlags> |
values |
Modifier and Type | Method and Description |
---|---|
static ELicenseFlags |
f(int code) |
int |
v() |
static ELicenseFlags |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ELicenseFlags[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ELicenseFlags None
public static final ELicenseFlags Renew
public static final ELicenseFlags RenewalFailed
public static final ELicenseFlags Pending
public static final ELicenseFlags Expired
public static final ELicenseFlags CancelledByUser
public static final ELicenseFlags CancelledByAdmin
public static final ELicenseFlags LowViolenceContent
private int code
private static HashMap<Integer,ELicenseFlags> values
public static ELicenseFlags[] values()
for (ELicenseFlags c : ELicenseFlags.values()) System.out.println(c);
public static ELicenseFlags 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 nullpublic int v()
public static ELicenseFlags f(int code)
Copyright © 2012. All Rights Reserved.