public static enum MigrationManager.Mode extends Enum<MigrationManager.Mode>
| Enum Constant and Description |
|---|
LIVE_AFTER
The migration will be executed when the server is running, but after the "normal" migration.
|
LIVE_BEFORE
The migration will be executed when the server is running, but before the "normal" migration.
|
NORMAL
The migration will be executed when the server is stopped.
|
| Modifier and Type | Method and Description |
|---|---|
static MigrationManager.Mode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MigrationManager.Mode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MigrationManager.Mode LIVE_BEFORE
public static final MigrationManager.Mode NORMAL
public static final MigrationManager.Mode LIVE_AFTER
public static MigrationManager.Mode[] values()
for (MigrationManager.Mode c : MigrationManager.Mode.values()) System.out.println(c);
public static MigrationManager.Mode 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 nullCopyright © 2018. All rights reserved.