public enum LiquibaseCommand extends Enum<LiquibaseCommand>
Enum Constant and Description |
---|
ROLLBACK |
UPDATE |
UPDATE_TESTING_ROLLBACKS |
Modifier and Type | Method and Description |
---|---|
String |
getCommand() |
boolean |
isCommand(String command) |
static LiquibaseCommand |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LiquibaseCommand[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LiquibaseCommand UPDATE
public static final LiquibaseCommand UPDATE_TESTING_ROLLBACKS
public static final LiquibaseCommand ROLLBACK
public static LiquibaseCommand[] values()
for (LiquibaseCommand c : LiquibaseCommand.values()) System.out.println(c);
public static LiquibaseCommand 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 String getCommand()
public boolean isCommand(String command)
Copyright © 2016–2020. All rights reserved.