Top Fields Constructors Methods
liquibase.command.core

public Class HistoryCommandStep

extends AbstractCliWrapperCommandStep
Class Inheritance
Imports
liquibase.command.*, liquibase.configuration.ConfigurationValueObfuscator, liquibase.exception.CommandExecutionException

References Deprecated

AbstractCliWrapperCommandStep is deprecated or references (maybe indirectly) at least one deprecated element.

See corresponding docs for further information.

Field Summary

Modifier and TypeField and Description
public static final CommandArgumentDefinition<String>
public static final String[]
public static final CommandArgumentDefinition<String>
public static final CommandArgumentDefinition<String>
public static final CommandArgumentDefinition<String>
public static final CommandArgumentDefinition<String>
public static final CommandArgumentDefinition<HistoryFormat>
public static final CommandArgumentDefinition<String>
public static final CommandArgumentDefinition<String>
public static final CommandArgumentDefinition<String>

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
protected String[]
collectArguments(CommandScope commandScope)

Implements abstract liquibase.command.AbstractCliWrapperCommandStep.collectArguments.

Called by run(CommandResultsBuilder) to create the actual arguments passed to Main#run(String[]).

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"}}.

Inherited from liquibase.command.AbstractCliWrapperCommandStep:
collectArgumentspreRunCheckremoveArgumentValuesrun

Field Detail

CHANGELOG_FILE_ARGback to summary
public static final CommandArgumentDefinition<String> CHANGELOG_FILE_ARG
COMMAND_NAMEback to summary
public static final String[] COMMAND_NAME
DEFAULT_CATALOG_NAME_ARGback to summary
public static final CommandArgumentDefinition<String> DEFAULT_CATALOG_NAME_ARG
DEFAULT_SCHEMA_NAME_ARGback to summary
public static final CommandArgumentDefinition<String> DEFAULT_SCHEMA_NAME_ARG
DRIVER_ARGback to summary
public static final CommandArgumentDefinition<String> DRIVER_ARG
DRIVER_PROPERTIES_FILE_ARGback to summary
public static final CommandArgumentDefinition<String> DRIVER_PROPERTIES_FILE_ARG
FORMAT_ARGback to summary
public static final CommandArgumentDefinition<HistoryFormat> FORMAT_ARG
PASSWORD_ARGback to summary
public static final CommandArgumentDefinition<String> PASSWORD_ARG
URL_ARGback to summary
public static final CommandArgumentDefinition<String> URL_ARG
USERNAME_ARGback to summary
public static final CommandArgumentDefinition<String> USERNAME_ARG

Constructor Detail

HistoryCommandStepback to summary
public HistoryCommandStep()

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
collectArgumentsback to summary
protected String[] collectArguments(CommandScope commandScope) throws CommandExecutionException

Implements abstract liquibase.command.AbstractCliWrapperCommandStep.collectArguments.

Doc from liquibase.command.AbstractCliWrapperCommandStep.collectArguments.

Called by run(CommandResultsBuilder) to create the actual arguments passed to Main#run(String[]).

Implementations should generally call collectArguments(CommandScope, List, String) and possibly removeArgumentValues(String[], String...)

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