Enum MySqlAlterUserStatement.PasswordExpire
- java.lang.Object
-
- java.lang.Enum<MySqlAlterUserStatement.PasswordExpire>
-
- com.alibaba.druid.sql.dialect.mysql.ast.statement.MySqlAlterUserStatement.PasswordExpire
-
- All Implemented Interfaces:
Serializable,Comparable<MySqlAlterUserStatement.PasswordExpire>
- Enclosing class:
- MySqlAlterUserStatement
public static enum MySqlAlterUserStatement.PasswordExpire extends Enum<MySqlAlterUserStatement.PasswordExpire>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description PASSWORD_EXPIREPASSWORD_EXPIRE_DEFAULTPASSWORD_EXPIRE_INTERVALPASSWORD_EXPIRE_NEVER
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static MySqlAlterUserStatement.PasswordExpirevalueOf(String name)Returns the enum constant of this type with the specified name.static MySqlAlterUserStatement.PasswordExpire[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PASSWORD_EXPIRE
public static final MySqlAlterUserStatement.PasswordExpire PASSWORD_EXPIRE
-
PASSWORD_EXPIRE_DEFAULT
public static final MySqlAlterUserStatement.PasswordExpire PASSWORD_EXPIRE_DEFAULT
-
PASSWORD_EXPIRE_NEVER
public static final MySqlAlterUserStatement.PasswordExpire PASSWORD_EXPIRE_NEVER
-
PASSWORD_EXPIRE_INTERVAL
public static final MySqlAlterUserStatement.PasswordExpire PASSWORD_EXPIRE_INTERVAL
-
-
Method Detail
-
values
public static MySqlAlterUserStatement.PasswordExpire[] 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 (MySqlAlterUserStatement.PasswordExpire c : MySqlAlterUserStatement.PasswordExpire.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MySqlAlterUserStatement.PasswordExpire 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
-
-