Enum CheckCredentialsResult
- java.lang.Object
-
- java.lang.Enum<CheckCredentialsResult>
-
- com.blackberry.workspaces.sdk.api.enums.CheckCredentialsResult
-
- All Implemented Interfaces:
Serializable
,Comparable<CheckCredentialsResult>
public enum CheckCredentialsResult extends Enum<CheckCredentialsResult>
An enum of values for the result of credentials check
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CREDENTIALS_FAILED
Credentials failedCREDENTIALS_OK
Credentials OKUSER_GOT_LOCKED
User got locked
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CheckCredentialsResult
valueOf(String name)
Returns the enum constant of this type with the specified name.static CheckCredentialsResult[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CREDENTIALS_OK
public static final CheckCredentialsResult CREDENTIALS_OK
Credentials OK
-
CREDENTIALS_FAILED
public static final CheckCredentialsResult CREDENTIALS_FAILED
Credentials failed
-
USER_GOT_LOCKED
public static final CheckCredentialsResult USER_GOT_LOCKED
User got locked
-
-
Method Detail
-
values
public static CheckCredentialsResult[] 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 (CheckCredentialsResult c : CheckCredentialsResult.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CheckCredentialsResult 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
-
-