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
public abstract class AbstractFutureRollbackCommandStep extends AbstractCommandStep
-
-
Field Summary
-
Fields inherited from class liquibase.command.AbstractCommandStep
coreBundle
-
Fields inherited from interface liquibase.command.CommandStep
ORDER_DEFAULT, ORDER_NOT_APPLICABLE
-
-
Constructor Summary
Constructors Constructor Description AbstractFutureRollbackCommandStep()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
futureRollbackSQL(Integer count, String tag, Contexts contexts, LabelExpression labelExpression, Writer output, Database database, DatabaseChangeLog changeLog, ChangeExecListener changeExecListener)
Integer
getCount(CommandScope commandScope)
String
getTag(CommandScope commandScope)
List<Class<?>>
requiredDependencies()
Return a list of configured Classes that this command requires to be passed as a dependency.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
-
-
-
-
Method Detail
-
requiredDependencies
public List<Class<?>> 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
public final void run(CommandResultsBuilder resultsBuilder) throws Exception
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
public Integer getCount(CommandScope commandScope)
-
getTag
public String getTag(CommandScope commandScope)
-
futureRollbackSQL
protected void futureRollbackSQL(Integer count, String tag, Contexts contexts, LabelExpression labelExpression, Writer output, Database database, DatabaseChangeLog changeLog, ChangeExecListener changeExecListener) throws LiquibaseException
- Throws:
LiquibaseException
-
-