Enum SSLTypeEnum
- java.lang.Object
-
- java.lang.Enum<SSLTypeEnum>
-
- org.apache.shardingsphere.sql.parser.sql.dialect.statement.mysql.segment.SSLTypeEnum
-
- All Implemented Interfaces:
Serializable,Comparable<SSLTypeEnum>
public enum SSLTypeEnum extends Enum<SSLTypeEnum>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description SSL_TYPE_ANYSSL_TYPE_NONESSL_TYPE_NOT_SPECIFIEDSSL_TYPE_SPECIFIEDSSL_TYPE_X509
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SSLTypeEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static SSLTypeEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SSL_TYPE_NOT_SPECIFIED
public static final SSLTypeEnum SSL_TYPE_NOT_SPECIFIED
-
SSL_TYPE_NONE
public static final SSLTypeEnum SSL_TYPE_NONE
-
SSL_TYPE_ANY
public static final SSLTypeEnum SSL_TYPE_ANY
-
SSL_TYPE_X509
public static final SSLTypeEnum SSL_TYPE_X509
-
SSL_TYPE_SPECIFIED
public static final SSLTypeEnum SSL_TYPE_SPECIFIED
-
-
Method Detail
-
values
public static SSLTypeEnum[] 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 (SSLTypeEnum c : SSLTypeEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SSLTypeEnum 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
-
-