public static enum KITTY_DATABASE_HELPER.UpgradeBehavior extends java.lang.Enum<KITTY_DATABASE_HELPER.UpgradeBehavior>
Enum Constant and Description |
---|
DO_NOTHING |
DROP_AND_CREATE |
USE_CUSTOM_MIGRATOR |
USE_FILE_MIGRATIONS |
USE_SIMPLE_MIGRATIONS |
Modifier and Type | Method and Description |
---|---|
static KITTY_DATABASE_HELPER.UpgradeBehavior |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static KITTY_DATABASE_HELPER.UpgradeBehavior[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final KITTY_DATABASE_HELPER.UpgradeBehavior DO_NOTHING
public static final KITTY_DATABASE_HELPER.UpgradeBehavior DROP_AND_CREATE
public static final KITTY_DATABASE_HELPER.UpgradeBehavior USE_FILE_MIGRATIONS
public static final KITTY_DATABASE_HELPER.UpgradeBehavior USE_SIMPLE_MIGRATIONS
public static final KITTY_DATABASE_HELPER.UpgradeBehavior USE_CUSTOM_MIGRATOR
public static KITTY_DATABASE_HELPER.UpgradeBehavior[] values()
for (KITTY_DATABASE_HELPER.UpgradeBehavior c : KITTY_DATABASE_HELPER.UpgradeBehavior.values()) System.out.println(c);
public static KITTY_DATABASE_HELPER.UpgradeBehavior valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null