Enum SyncopeEnduserSession.Error
- java.lang.Object
-
- java.lang.Enum<SyncopeEnduserSession.Error>
-
- org.apache.syncope.client.enduser.SyncopeEnduserSession.Error
-
- All Implemented Interfaces:
Serializable
,Comparable<SyncopeEnduserSession.Error>
- Enclosing class:
- SyncopeEnduserSession
public static enum SyncopeEnduserSession.Error extends Enum<SyncopeEnduserSession.Error>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AUTHORIZATION
INVALID_SECURITY_ANSWER
REST
SESSION_EXPIRED
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
fallback()
String
key()
static SyncopeEnduserSession.Error
valueOf(String name)
Returns the enum constant of this type with the specified name.static SyncopeEnduserSession.Error[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INVALID_SECURITY_ANSWER
public static final SyncopeEnduserSession.Error INVALID_SECURITY_ANSWER
-
SESSION_EXPIRED
public static final SyncopeEnduserSession.Error SESSION_EXPIRED
-
AUTHORIZATION
public static final SyncopeEnduserSession.Error AUTHORIZATION
-
REST
public static final SyncopeEnduserSession.Error REST
-
-
Method Detail
-
values
public static SyncopeEnduserSession.Error[] 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 (SyncopeEnduserSession.Error c : SyncopeEnduserSession.Error.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SyncopeEnduserSession.Error valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
key
public String key()
-
fallback
public String fallback()
-
-