public class UpdateCountSqlCommandStep extends AbstractCliWrapperCommandStep
Modifier and Type | Field and Description |
---|---|
static CommandArgumentDefinition<String> |
CHANGE_EXEC_LISTENER_CLASS_ARG |
static CommandArgumentDefinition<String> |
CHANGE_EXEC_LISTENER_PROPERTIES_FILE_ARG |
static CommandArgumentDefinition<String> |
CHANGELOG_FILE_ARG |
static String[] |
COMMAND_NAME |
static CommandArgumentDefinition<String> |
CONTEXTS_ARG |
static CommandArgumentDefinition<Integer> |
COUNT_ARG |
static CommandArgumentDefinition<String> |
DEFAULT_CATALOG_NAME_ARG |
static CommandArgumentDefinition<String> |
DEFAULT_SCHEMA_NAME_ARG |
static CommandArgumentDefinition<String> |
DRIVER_ARG |
static CommandArgumentDefinition<String> |
DRIVER_PROPERTIES_FILE_ARG |
static CommandArgumentDefinition<String> |
LABELS_ARG |
static CommandArgumentDefinition<String> |
PASSWORD_ARG |
static CommandArgumentDefinition<String> |
URL_ARG |
static CommandArgumentDefinition<String> |
USERNAME_ARG |
ORDER_DEFAULT, ORDER_NOT_APPLICABLE
Constructor and Description |
---|
UpdateCountSqlCommandStep() |
Modifier and Type | Method and Description |
---|---|
void |
adjustCommandDefinition(CommandDefinition commandDefinition)
Default implementation makes no changes
|
protected String[] |
collectArguments(CommandScope commandScope)
Called by
AbstractCliWrapperCommandStep.run(CommandResultsBuilder) to create the actual arguments passed to Main.run(String[]) . |
String[][] |
defineCommandNames()
Defines new command names
For example, if it is part of `liquibase update`, this should return new String[][]{ new String[] {"update"}}.
|
collectArguments, preRunCheck, removeArgumentValues, run
getOrder, validate
public static final String[] COMMAND_NAME
public static final CommandArgumentDefinition<String> CHANGELOG_FILE_ARG
public static final CommandArgumentDefinition<String> URL_ARG
public static final CommandArgumentDefinition<String> DEFAULT_SCHEMA_NAME_ARG
public static final CommandArgumentDefinition<String> DEFAULT_CATALOG_NAME_ARG
public static final CommandArgumentDefinition<String> USERNAME_ARG
public static final CommandArgumentDefinition<String> PASSWORD_ARG
public static final CommandArgumentDefinition<String> LABELS_ARG
public static final CommandArgumentDefinition<String> CONTEXTS_ARG
public static final CommandArgumentDefinition<Integer> COUNT_ARG
public static final CommandArgumentDefinition<String> CHANGE_EXEC_LISTENER_CLASS_ARG
public static final CommandArgumentDefinition<String> CHANGE_EXEC_LISTENER_PROPERTIES_FILE_ARG
public static final CommandArgumentDefinition<String> DRIVER_ARG
public static final CommandArgumentDefinition<String> DRIVER_PROPERTIES_FILE_ARG
public String[][] defineCommandNames()
CommandStep
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.
protected String[] collectArguments(CommandScope commandScope) throws CommandExecutionException
AbstractCliWrapperCommandStep
AbstractCliWrapperCommandStep.run(CommandResultsBuilder)
to create the actual arguments passed to Main.run(String[])
.
Implementations should generally call AbstractCliWrapperCommandStep.collectArguments(CommandScope, List, String)
and possibly AbstractCliWrapperCommandStep.removeArgumentValues(String[], String...)
collectArguments
in class AbstractCliWrapperCommandStep
CommandExecutionException
public void adjustCommandDefinition(CommandDefinition commandDefinition)
AbstractCommandStep
adjustCommandDefinition
in interface CommandStep
adjustCommandDefinition
in class AbstractCommandStep
Copyright © 2022 Liquibase.org. All rights reserved.