Package com.regula.facesdk.enums
Enum InitErrorCode
- java.lang.Object
-
- java.lang.Enum<InitErrorCode>
-
- com.regula.facesdk.enums.InitErrorCode
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<InitErrorCode>
public enum InitErrorCode extends java.lang.Enum<InitErrorCode>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BAD_LICENSE
CONTEXT_IS_NULL
IN_PROGRESS_ALREADY
INTERNAL_CORE_ERROR
LICENSE_IS_NULL
MISSING_CORE
RESOURCE_DAT_ABSENT
UNAVAILABLE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getValue()
Returns int value of enum memberstatic InitErrorCode
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static InitErrorCode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
IN_PROGRESS_ALREADY
public static final InitErrorCode IN_PROGRESS_ALREADY
-
MISSING_CORE
public static final InitErrorCode MISSING_CORE
-
INTERNAL_CORE_ERROR
public static final InitErrorCode INTERNAL_CORE_ERROR
-
BAD_LICENSE
public static final InitErrorCode BAD_LICENSE
-
UNAVAILABLE
public static final InitErrorCode UNAVAILABLE
-
CONTEXT_IS_NULL
public static final InitErrorCode CONTEXT_IS_NULL
-
RESOURCE_DAT_ABSENT
public static final InitErrorCode RESOURCE_DAT_ABSENT
-
LICENSE_IS_NULL
public static final InitErrorCode LICENSE_IS_NULL
-
-
Method Detail
-
values
public static InitErrorCode[] 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 (InitErrorCode c : InitErrorCode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static InitErrorCode 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
-
getValue
public int getValue()
Returns int value of enum member- Returns:
- int
-
-