Package liquibase.command.core
Class AbstractFutureRollbackCommandStep
java.lang.Object
liquibase.command.AbstractCommandStep
liquibase.command.core.AbstractFutureRollbackCommandStep
- All Implemented Interfaces:
CommandStep
- Direct Known Subclasses:
FutureRollbackCountSqlCommandStep
,FutureRollbackFromTagSqlCommandStep
,FutureRollbackSqlCommandStep
-
Field Summary
Fields inherited from class liquibase.command.AbstractCommandStep
coreBundle
Fields inherited from interface liquibase.command.CommandStep
ORDER_DEFAULT, ORDER_NOT_APPLICABLE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
futureRollbackSQL
(Integer count, String tag, Contexts contexts, LabelExpression labelExpression, Writer output, Database database, DatabaseChangeLog changeLog, ChangeExecListener changeExecListener) getCount
(CommandScope commandScope) getTag
(CommandScope commandScope) Return a list of configured Classes that this command requires to be passed as a dependency.final void
run
(CommandResultsBuilder resultsBuilder) Performs the business logic.Methods inherited from class liquibase.command.AbstractCommandStep
adjustCommandDefinition, getOrder, providedDependencies, validate
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface liquibase.command.CommandStep
defineCommandNames
-
Constructor Details
-
AbstractFutureRollbackCommandStep
public AbstractFutureRollbackCommandStep()
-
-
Method Details
-
requiredDependencies
Description copied from interface:CommandStep
Return a list of configured Classes that this command requires to be passed as a dependency.- Specified by:
requiredDependencies
in interfaceCommandStep
- Overrides:
requiredDependencies
in classAbstractCommandStep
- Returns:
- list with the required classes types
-
run
Description copied from interface:CommandStep
Performs the business logic. This method should not be called directly. It is called by the overall pipeline logic in theCommandScope.execute()
order.- Throws:
Exception
-
getCount
-
getTag
-
futureRollbackSQL
protected void futureRollbackSQL(Integer count, String tag, Contexts contexts, LabelExpression labelExpression, Writer output, Database database, DatabaseChangeLog changeLog, ChangeExecListener changeExecListener) throws LiquibaseException - Throws:
LiquibaseException
-