public enum LicenseStatus extends java.lang.Enum<LicenseStatus>
| Enum Constant and Description |
|---|
ABOUT_TO_EXPIRE |
EXPIRED |
MAX_USERS_ABOUT_TO_BE_REACHED |
MAX_USERS_REACHED |
OK |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isError() |
boolean |
isOk() |
boolean |
isWarning() |
static LicenseStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static LicenseStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LicenseStatus OK
public static final LicenseStatus EXPIRED
public static final LicenseStatus ABOUT_TO_EXPIRE
public static final LicenseStatus MAX_USERS_REACHED
public static final LicenseStatus MAX_USERS_ABOUT_TO_BE_REACHED
public static LicenseStatus[] values()
for (LicenseStatus c : LicenseStatus.values()) System.out.println(c);
public static LicenseStatus 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 nullpublic boolean isError()
public boolean isOk()
public boolean isWarning()