Enum Class AuthStatus
- All Implemented Interfaces:
Serializable,Comparable<AuthStatus>,Constable
认证状态
- Since:
- 1.0.0
- Author:
- zhsxin
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription认证失败认证中认证成功初始化认证失败认证中 -
Method Summary
Modifier and TypeMethodDescriptionbooleanin(AuthStatus... statuses) static AuthStatusReturns the enum constant of this class with the specified name.static AuthStatus[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
INIT
初始化 -
AUTH_ING
认证中 -
RE_AUTH_ING
认证中 -
AUTH_OK
认证成功 -
AUTH_FAIL
认证失败新增失败
-
RE_AUTH_FAIL
认证失败修改失败
- Since:
- 1.1.1
-
-
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
-
in
-