Enum CachingSha2PasswordFlow.State
- java.lang.Object
-
- java.lang.Enum<CachingSha2PasswordFlow.State>
-
- org.mariadb.r2dbc.authentication.standard.CachingSha2PasswordFlow.State
-
- All Implemented Interfaces:
Serializable,Comparable<CachingSha2PasswordFlow.State>
- Enclosing class:
- CachingSha2PasswordFlow
public static enum CachingSha2PasswordFlow.State extends Enum<CachingSha2PasswordFlow.State>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FAST_AUTH_RESULTINITREQUEST_SERVER_KEYSEND_AUTH
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CachingSha2PasswordFlow.StatevalueOf(String name)Returns the enum constant of this type with the specified name.static CachingSha2PasswordFlow.State[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INIT
public static final CachingSha2PasswordFlow.State INIT
-
FAST_AUTH_RESULT
public static final CachingSha2PasswordFlow.State FAST_AUTH_RESULT
-
REQUEST_SERVER_KEY
public static final CachingSha2PasswordFlow.State REQUEST_SERVER_KEY
-
SEND_AUTH
public static final CachingSha2PasswordFlow.State SEND_AUTH
-
-
Method Detail
-
values
public static CachingSha2PasswordFlow.State[] 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 (CachingSha2PasswordFlow.State c : CachingSha2PasswordFlow.State.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CachingSha2PasswordFlow.State 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
-
-