Package com.regula.facesdk.enums
Enum LicensingResultCode
- java.lang.Object
-
- java.lang.Enum<LicensingResultCode>
-
- com.regula.facesdk.enums.LicensingResultCode
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<LicensingResultCode>
public enum LicensingResultCode extends java.lang.Enum<LicensingResultCode>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DATABASE_INCORRECT
INVALID_DATE
INVALID_DEVICE_ID
INVALID_SYSTEM_OR_APP_ID
INVALID_VERSION
LICENSE_ABSENT
LICENSE_CORRUPTED
NO_AUTHENTICITY
NO_CAPABILITIES
NO_DATABASE
NO_INTERNET
OK
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static LicensingResultCode
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static LicensingResultCode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
OK
public static final LicensingResultCode OK
-
LICENSE_CORRUPTED
public static final LicensingResultCode LICENSE_CORRUPTED
-
INVALID_DATE
public static final LicensingResultCode INVALID_DATE
-
INVALID_VERSION
public static final LicensingResultCode INVALID_VERSION
-
INVALID_DEVICE_ID
public static final LicensingResultCode INVALID_DEVICE_ID
-
INVALID_SYSTEM_OR_APP_ID
public static final LicensingResultCode INVALID_SYSTEM_OR_APP_ID
-
NO_CAPABILITIES
public static final LicensingResultCode NO_CAPABILITIES
-
NO_AUTHENTICITY
public static final LicensingResultCode NO_AUTHENTICITY
-
LICENSE_ABSENT
public static final LicensingResultCode LICENSE_ABSENT
-
NO_INTERNET
public static final LicensingResultCode NO_INTERNET
-
NO_DATABASE
public static final LicensingResultCode NO_DATABASE
-
DATABASE_INCORRECT
public static final LicensingResultCode DATABASE_INCORRECT
-
-
Method Detail
-
values
public static LicensingResultCode[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (LicensingResultCode c : LicensingResultCode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static LicensingResultCode valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-