Top Fields Constructors Methods
liquibase.command.core

public abstract Class AbstractFutureRollbackCommandStep

extends AbstractCommandStep
Class Inheritance
Known Direct Subclasses
liquibase.command.core.FutureRollbackCountSqlCommandStep, liquibase.command.core.FutureRollbackFromTagSqlCommandStep, liquibase.command.core.FutureRollbackSqlCommandStep
Imports
liquibase.*, liquibase.changelog.*, liquibase.changelog.filter.*, liquibase.changelog.visitor.ChangeExecListener, .ListVisitor, .RollbackVisitor, liquibase.command.AbstractCommandStep, .CommandResultsBuilder, .CommandScope, liquibase.database.Database, liquibase.exception.LiquibaseException, .LockException, liquibase.executor.ExecutorService, .LoggingExecutor, liquibase.lockservice.LockService, .LockServiceFactory, liquibase.util.LoggingExecutorTextUtil, java.io.IOException, .Writer, java.util.Arrays, .List

Field Summary

Inherited from liquibase.command.AbstractCommandStep:
coreBundle

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
private void
protected void
futureRollbackSQL(Integer count, String tag, Contexts contexts, LabelExpression labelExpression, Writer output, Database database, DatabaseChangeLog changeLog, ChangeExecListener changeExecListener)

public Integer
getCount(CommandScope commandScope)

public String
getTag(CommandScope commandScope)

public List<Class<?>>
requiredDependencies()

Overrides liquibase.command.AbstractCommandStep.requiredDependencies.

Implements liquibase.command.CommandStep.requiredDependencies.

Return a list of configured Classes that this command requires to be passed as a dependency.

public final void
run(CommandResultsBuilder resultsBuilder)

Implements liquibase.command.CommandStep.run.

Performs the business logic.

Inherited from liquibase.command.AbstractCommandStep:
adjustCommandDefinitiongetOrderprovidedDependenciesvalidate

Constructor Detail

AbstractFutureRollbackCommandStepback to summary
public AbstractFutureRollbackCommandStep()

Method Detail

flushOutputWriterback to summary
private void flushOutputWriter(Writer output) throws LiquibaseException
futureRollbackSQLback to summary
protected void futureRollbackSQL(Integer count, String tag, Contexts contexts, LabelExpression labelExpression, Writer output, Database database, DatabaseChangeLog changeLog, ChangeExecListener changeExecListener) throws LiquibaseException
getCountback to summary
public Integer getCount(CommandScope commandScope)
getTagback to summary
public String getTag(CommandScope commandScope)
requiredDependenciesback to summary
public List<Class<?>> requiredDependencies()

Overrides liquibase.command.AbstractCommandStep.requiredDependencies.

Implements liquibase.command.CommandStep.requiredDependencies.

Doc from liquibase.command.CommandStep.requiredDependencies.

Return a list of configured Classes that this command requires to be passed as a dependency.

Returns:List<Class<?>>

list with the required classes types

Annotations
@Override
runback to summary
public final void run(CommandResultsBuilder resultsBuilder) throws Exception

Implements liquibase.command.CommandStep.run.

Doc from liquibase.command.CommandStep.run.

Performs the business logic. This method should not be called directly. It is called by the overall pipeline logic in the CommandScope#execute() order.

Annotations
@Override