Package com.atlassian.bitbucket.scm
Enum Class AuthenticationState
- All Implemented Interfaces:
Serializable
,Comparable<AuthenticationState>
,Constable
Indicates the result of a user's authentication attempt.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionIndicates that authentication has succeeded.Indicates that the user's account is locked and they must navigate to the Stash Web UI and solve a CAPTCHA test.Indicates that authentication failed or no attempt to authenticate was made.Indicates that authentication succeeded but the user account is not licensed to use Stash. -
Method Summary
Modifier and TypeMethodDescriptionstatic AuthenticationState
Returns the enum constant of this class with the specified name.static AuthenticationState[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
AUTHENTICATED
Indicates that authentication has succeeded. -
NOT_AUTHENTICATED
Indicates that authentication failed or no attempt to authenticate was made. -
UNLICENSED
Indicates that authentication succeeded but the user account is not licensed to use Stash. -
CAPTCHA_REQUIRED
Indicates that the user's account is locked and they must navigate to the Stash Web UI and solve a CAPTCHA test.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-