Package com.peterphi.std.guice.liquibase
Enum Class LiquibaseAction
- All Implemented Interfaces:
Serializable
,Comparable<LiquibaseAction>
,Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionAssert that there are no pending changesetsGenerate a changelog XML and dump it to stdoutDisable liquibaseMark that all pending changesets have been applied without actually executing any of their logic (this is "changeLogSync" at the liquibase command-line)Update all changesets -
Method Summary
Modifier and TypeMethodDescriptionboolean
static LiquibaseAction
Returns the enum constant of this class with the specified name.static LiquibaseAction[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
IGNORE
Disable liquibase -
ASSERT_UPDATED
Assert that there are no pending changesets -
UPDATE
Update all changesets -
MARK_UPDATED
Mark that all pending changesets have been applied without actually executing any of their logic (this is "changeLogSync" at the liquibase command-line) -
GENERATE_CHANGELOG
Generate a changelog XML and dump it to stdout
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
isWriteAction
public boolean isWriteAction()
-