public enum MigrationPolicy extends Enum<MigrationPolicy>
| Enum Constant and Description |
|---|
ALWAYS |
OFF |
ON_FAILURE |
| Modifier and Type | Method and Description |
|---|---|
static MigrationPolicy |
fromValue(String value) |
String |
toString() |
String |
value() |
static MigrationPolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MigrationPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MigrationPolicy OFF
public static final MigrationPolicy ON_FAILURE
public static final MigrationPolicy ALWAYS
public static MigrationPolicy[] values()
for (MigrationPolicy c : MigrationPolicy.values()) System.out.println(c);
public static MigrationPolicy 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 MigrationPolicy fromValue(String value)
public String toString()
toString in class Enum<MigrationPolicy>public String value()