Package io.debezium.connector.mysql
Enum MySqlTestConnection.MySqlVersion
- java.lang.Object
-
- java.lang.Enum<MySqlTestConnection.MySqlVersion>
-
- io.debezium.connector.mysql.MySqlTestConnection.MySqlVersion
-
- All Implemented Interfaces:
Serializable,Comparable<MySqlTestConnection.MySqlVersion>
- Enclosing class:
- MySqlTestConnection
public static enum MySqlTestConnection.MySqlVersion extends Enum<MySqlTestConnection.MySqlVersion>
-
-
Constructor Summary
Constructors Modifier Constructor Description privateMySqlVersion()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static MySqlTestConnection.MySqlVersionvalueOf(String name)Returns the enum constant of this type with the specified name.static MySqlTestConnection.MySqlVersion[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MYSQL_5_5
public static final MySqlTestConnection.MySqlVersion MYSQL_5_5
-
MYSQL_5_6
public static final MySqlTestConnection.MySqlVersion MYSQL_5_6
-
MYSQL_5_7
public static final MySqlTestConnection.MySqlVersion MYSQL_5_7
-
MYSQL_8
public static final MySqlTestConnection.MySqlVersion MYSQL_8
-
-
Method Detail
-
values
public static MySqlTestConnection.MySqlVersion[] 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 (MySqlTestConnection.MySqlVersion c : MySqlTestConnection.MySqlVersion.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MySqlTestConnection.MySqlVersion 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
-
-