Enum Class LiquibaseAction

java.lang.Object
java.lang.Enum<LiquibaseAction>
com.peterphi.std.guice.liquibase.LiquibaseAction
All Implemented Interfaces:
Serializable, Comparable<LiquibaseAction>, Constable

public enum LiquibaseAction extends Enum<LiquibaseAction>
  • Enum Constant Details

    • IGNORE

      public static final LiquibaseAction IGNORE
      Disable liquibase
    • ASSERT_UPDATED

      public static final LiquibaseAction ASSERT_UPDATED
      Assert that there are no pending changesets
    • UPDATE

      public static final LiquibaseAction UPDATE
      Update all changesets
    • MARK_UPDATED

      public static final LiquibaseAction 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

      public static final LiquibaseAction GENERATE_CHANGELOG
      Generate a changelog XML and dump it to stdout
  • Method Details

    • values

      public static LiquibaseAction[] 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

      public static LiquibaseAction valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • isWriteAction

      public boolean isWriteAction()