public enum MySqlMigrationType extends Enum<MySqlMigrationType>
Enum Constant and Description |
---|
LOCAL_TO_REMOTE
Enum value LocalToRemote.
|
REMOTE_TO_LOCAL
Enum value RemoteToLocal.
|
Modifier and Type | Method and Description |
---|---|
static MySqlMigrationType |
fromString(String value)
Parses a serialized value to a MySqlMigrationType instance.
|
String |
toString() |
static MySqlMigrationType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MySqlMigrationType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MySqlMigrationType LOCAL_TO_REMOTE
public static final MySqlMigrationType REMOTE_TO_LOCAL
public static MySqlMigrationType[] values()
for (MySqlMigrationType c : MySqlMigrationType.values()) System.out.println(c);
public static MySqlMigrationType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static MySqlMigrationType fromString(String value)
value
- the serialized value to parse.public String toString()
toString
in class Enum<MySqlMigrationType>
Copyright © 2019. All rights reserved.