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
coreBundleFields inherited from interface liquibase.command.CommandStep
ORDER_DEFAULT, ORDER_NOT_APPLICABLE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidfutureRollbackSQL(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 voidrun(CommandResultsBuilder resultsBuilder) Performs the business logic.Methods inherited from class liquibase.command.AbstractCommandStep
adjustCommandDefinition, getOrder, handleOutput, providedDependencies, validateMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface liquibase.command.CommandStep
defineCommandNames, isInternal
-
Constructor Details
-
AbstractFutureRollbackCommandStep
public AbstractFutureRollbackCommandStep()
-
-
Method Details
-
requiredDependencies
Description copied from interface:CommandStepReturn a list of configured Classes that this command requires to be passed as a dependency.- Specified by:
requiredDependenciesin interfaceCommandStep- Overrides:
requiredDependenciesin classAbstractCommandStep- Returns:
- list with the required classes types
-
run
Description copied from interface:CommandStepPerforms 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
-