| Modifier and Type | Class and Description |
|---|---|
| private static enum |
| Modifier and Type | Field and Description |
|---|---|
| public static final CommandArgumentDefinition |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private static void | |
| public void | adjustCommandDefinition(CommandDefinition commandDefinition)
Overrides liquibase. Implements liquibase. Default implementation makes no changes |
| protected static RawSQLChange | |
| private static List | determineRollbacks(Database database, ChangeLogIterator logIterator, ChangeLogParameters changeLogParameters)
|
| protected void | doRollback(CommandResultsBuilder resultsBuilder, List<RanChangeSet> ranChangeSetList, ChangeSetFilter changeSetFilter)
|
| protected void | doRollback(CommandResultsBuilder resultsBuilder, List<RanChangeSet> ranChangeSetList, ChangeSetFilter changeSetFilter, RollbackReportParameters rollbackReportParameters)
|
| public static void | doRollback(Database database, String changelogFile, String rollbackScript, ChangeLogIterator logIterator, ChangeLogParameters changeLogParameters, DatabaseChangeLog databaseChangeLog, ChangeExecListener changeExecListener)
Actually perform the rollback operation. |
| public static void | doRollback(Database database, String changelogFile, String rollbackScript, ChangeLogIterator logIterator, ChangeLogParameters changeLogParameters, DatabaseChangeLog databaseChangeLog, ChangeExecListener changeExecListener, RollbackReportParameters rollbackReportParameters)
Actually perform the rollback operation. |
| private static void | executeRollbackScript(Database database, String rollbackScript, List<ChangeSet> changeSets, DatabaseChangeLog changelog, ChangeLogParameters changeLogParameters, ChangeExecListener changeExecListener)
|
| private static void | |
| private static void | |
| public List | requiredDependencies()
Overrides liquibase. Implements liquibase. Return a list of configured Classes that this command requires to be passed as a dependency. |
| private static void | sendRollbackMessages(List<ChangeSet> changeSets, DatabaseChangeLog databaseChangeLog, AbstractRollbackCommandStep.
|
| ROLLBACK_SCRIPT_ARG | back to summary |
|---|---|
| public static final CommandArgumentDefinition<String> ROLLBACK_SCRIPT_ARG | |
| AbstractRollbackCommandStep | back to summary |
|---|---|
| public AbstractRollbackCommandStep() | |
| addChangelogFileToMdc | back to summary |
|---|---|
| private static void addChangelogFileToMdc(String changelogFile, DatabaseChangeLog databaseChangeLog) | |
| adjustCommandDefinition | back to summary |
|---|---|
| public void adjustCommandDefinition(CommandDefinition commandDefinition) Overrides liquibase. Implements liquibase. Doc from liquibase. Default implementation makes no changes
| |
| buildRawSQLChange | back to summary |
|---|---|
| protected static RawSQLChange buildRawSQLChange(String rollbackScriptContents) | |
| determineRollbacks | back to summary |
|---|---|
| private static List | |
| doRollback | back to summary |
|---|---|
| protected void doRollback(CommandResultsBuilder resultsBuilder, List<RanChangeSet> ranChangeSetList, ChangeSetFilter changeSetFilter) throws Exception | |
| doRollback | back to summary |
|---|---|
| protected void doRollback(CommandResultsBuilder resultsBuilder, List<RanChangeSet> ranChangeSetList, ChangeSetFilter changeSetFilter, RollbackReportParameters rollbackReportParameters) throws Exception | |
| doRollback | back to summary |
|---|---|
| public static void doRollback(Database database, String changelogFile, String rollbackScript, ChangeLogIterator logIterator, ChangeLogParameters changeLogParameters, DatabaseChangeLog databaseChangeLog, ChangeExecListener changeExecListener) throws Exception Actually perform the rollback operation. Determining which changesets to roll back is the responsibility of the logIterator. | |
| doRollback | back to summary |
|---|---|
| public static void doRollback(Database database, String changelogFile, String rollbackScript, ChangeLogIterator logIterator, ChangeLogParameters changeLogParameters, DatabaseChangeLog databaseChangeLog, ChangeExecListener changeExecListener, RollbackReportParameters rollbackReportParameters) throws Exception Actually perform the rollback operation. Determining which changesets to roll back is the responsibility of the logIterator. | |
| executeRollbackScript | back to summary |
|---|---|
| private static void executeRollbackScript(Database database, String rollbackScript, List<ChangeSet> changeSets, DatabaseChangeLog changelog, ChangeLogParameters changeLogParameters, ChangeExecListener changeExecListener) throws LiquibaseException | |
| handleRollbackException | back to summary |
|---|---|
| private static void handleRollbackException(String operationName, RollbackReportParameters rollbackReportParameters) | |
| removeRunStatus | back to summary |
|---|---|
| private static void removeRunStatus(List<ChangeSet> changeSets, Database database) throws LiquibaseException | |
| requiredDependencies | back to summary |
|---|---|
| public List Overrides liquibase. Implements liquibase. Doc from liquibase. Return a list of configured Classes that this command requires to be passed as a dependency. | |
| sendRollbackMessages | back to summary |
|---|---|
| private static void sendRollbackMessages(List<ChangeSet> changeSets, DatabaseChangeLog databaseChangeLog, AbstractRollbackCommandStep. | |
| Modifier and Type | Field and Description |
|---|---|
| public static final AbstractRollbackCommandStep. | |
| public static final AbstractRollbackCommandStep. | |
| public static final AbstractRollbackCommandStep. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static AbstractRollbackCommandStep. | |
| public static AbstractRollbackCommandStep. |
| ROLLBACK_FAILED | back to summary |
|---|---|
| public static final AbstractRollbackCommandStep. | |
| ROLLED_BACK | back to summary |
|---|---|
| public static final AbstractRollbackCommandStep. | |
| WILL_ROLLBACK | back to summary |
|---|---|
| public static final AbstractRollbackCommandStep. | |
| RollbackMessageType | back to summary |
|---|---|
| private RollbackMessageType() | |
| valueOf | back to summary |
|---|---|
| public static AbstractRollbackCommandStep. | |
| values | back to summary |
|---|---|
| public static AbstractRollbackCommandStep. | |