Top Fields Constructors Methods
liquibase.command.core

public Class UpdateCountCommandStep

extends AbstractUpdateCommandStep
Class Inheritance
Known Direct Subclasses
liquibase.command.core.UpdateCountSqlCommandStep
Imports
liquibase.Contexts, .LabelExpression, .Scope, .UpdateSummaryEnum, liquibase.changelog.ChangeLogIterator, .ChangeLogParameters, .DatabaseChangeLog, .StatusChangeLogIterator, liquibase.changelog.filter.*, liquibase.command.*, liquibase.database.Database, liquibase.exception.DatabaseException, liquibase.logging.mdc.MdcKey, java.util.ArrayList, .Arrays, .List

Field Summary

Modifier and TypeField and Description
public static final CommandArgumentDefinition<String>
public static final CommandArgumentDefinition<ChangeLogParameters>
public static final String[]
public static final CommandArgumentDefinition<String>
public static final CommandArgumentDefinition<Integer>
public static final CommandArgumentDefinition<String>
Inherited from liquibase.command.core.AbstractUpdateCommandStep:
DEFAULT_CHANGE_EXEC_LISTENER_RESULT_KEY

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
protected void
public String[][]
defineCommandNames()

Implements liquibase.command.CommandStep.defineCommandNames.

Defines new command names For example, if it is part of `liquibase update`, this should return new String[][]{ new String[] {"update"}}.

public String
public String[]
public String
public String
public UpdateSummaryEnum
public ChangeLogIterator
public ChangeLogIterator
public void
public List<Class<?>>
requiredDependencies()

Overrides liquibase.command.core.AbstractUpdateCommandStep.requiredDependencies.

Implements liquibase.command.CommandStep.requiredDependencies.

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

Inherited from liquibase.command.core.AbstractUpdateCommandStep:
cleanUpgetShowSummaryOutputgetStandardChangelogIteratorFiltersisUpToDateisUpToDateFastCheckpreRunrunsetDBLocksetFastCheckEnabled

Field Detail

CHANGELOG_FILE_ARGback to summary
public static final CommandArgumentDefinition<String> CHANGELOG_FILE_ARG
CHANGELOG_PARAMETERSback to summary
public static final CommandArgumentDefinition<ChangeLogParameters> CHANGELOG_PARAMETERS
COMMAND_NAMEback to summary
public static final String[] COMMAND_NAME
CONTEXTS_ARGback to summary
public static final CommandArgumentDefinition<String> CONTEXTS_ARG
COUNT_ARGback to summary
public static final CommandArgumentDefinition<Integer> COUNT_ARG
LABEL_FILTER_ARGback to summary
public static final CommandArgumentDefinition<String> LABEL_FILTER_ARG

Constructor Detail

UpdateCountCommandStepback to summary
public UpdateCountCommandStep()

Method Detail

adjustCommandDefinitionback to summary
public void adjustCommandDefinition(CommandDefinition commandDefinition)

Overrides liquibase.command.AbstractCommandStep.adjustCommandDefinition.

Implements liquibase.command.CommandStep.adjustCommandDefinition.

Doc from liquibase.command.AbstractCommandStep.adjustCommandDefinition.

Default implementation makes no changes

Annotations
@Override
customMdcLoggingback to summary
protected void customMdcLogging(CommandScope commandScope)

Overrides liquibase.command.core.AbstractUpdateCommandStep.customMdcLogging.

Annotations
@Override
defineCommandNamesback to summary
public String[][] defineCommandNames()

Implements liquibase.command.CommandStep.defineCommandNames.

Doc from liquibase.command.CommandStep.defineCommandNames.

Defines new command names For example, if it is part of `liquibase update`, this should return new String[][]{ new String[] {"update"}}. If it is a part of `liquibase example init`, this should return {"example", "init"}.

This is used to determine the available command names.

This can return null if this step is not defining a new command but "cross-cutting" existing commands

Annotations
@Override
getChangelogFileArgback to summary
public String getChangelogFileArg(CommandScope commandScope)

Implements abstract liquibase.command.core.AbstractUpdateCommandStep.getChangelogFileArg.

Annotations
@Override
getCommandNameback to summary
public String[] getCommandName()

Implements abstract liquibase.command.core.AbstractUpdateCommandStep.getCommandName.

Annotations
@Override
getContextsArgback to summary
public String getContextsArg(CommandScope commandScope)

Implements abstract liquibase.command.core.AbstractUpdateCommandStep.getContextsArg.

Annotations
@Override
getLabelFilterArgback to summary
public String getLabelFilterArg(CommandScope commandScope)

Implements abstract liquibase.command.core.AbstractUpdateCommandStep.getLabelFilterArg.

Annotations
@Override
getShowSummaryback to summary
public UpdateSummaryEnum getShowSummary(CommandScope commandScope)

Implements abstract liquibase.command.core.AbstractUpdateCommandStep.getShowSummary.

Annotations
@Override
getStandardChangelogIteratorback to summary
public ChangeLogIterator getStandardChangelogIterator(CommandScope commandScope, Database database, Contexts contexts, LabelExpression labelExpression, DatabaseChangeLog databaseChangeLog) throws DatabaseException

Overrides liquibase.command.core.AbstractUpdateCommandStep.getStandardChangelogIterator.

Annotations
@Override
getStatusChangelogIteratorback to summary
public ChangeLogIterator getStatusChangelogIterator(CommandScope commandScope, Database database, Contexts contexts, LabelExpression labelExpression, DatabaseChangeLog databaseChangeLog) throws DatabaseException

Overrides liquibase.command.core.AbstractUpdateCommandStep.getStatusChangelogIterator.

Annotations
@Override
postUpdateLogback to summary
public void postUpdateLog(int rowsAffected)

Overrides liquibase.command.core.AbstractUpdateCommandStep.postUpdateLog.

Doc from liquibase.command.core.AbstractUpdateCommandStep.postUpdateLog.

Log

Annotations
@Override
requiredDependenciesback to summary
public List<Class<?>> requiredDependencies()

Overrides liquibase.command.core.AbstractUpdateCommandStep.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