public class TestSystemUpCommand extends AbstractCommandStep
| Modifier and Type | Field and Description |
|---|---|
static CommandArgumentDefinition<Boolean> |
ACCEPT_LICENSES |
static String[] |
COMMAND_NAME |
static CommandArgumentDefinition<String> |
NAME |
static CommandArgumentDefinition<String> |
PROFILES |
static CommandArgumentDefinition<String> |
VERSION |
ORDER_DEFAULT, ORDER_NOT_APPLICABLE| Constructor and Description |
|---|
TestSystemUpCommand() |
| Modifier and Type | Method and Description |
|---|---|
String[][] |
defineCommandNames()
Defines new command names
For example, if it is part of `liquibase update`, this should return new String[][]{ new String[] {"update"}}.
|
void |
run(CommandResultsBuilder resultsBuilder)
Performs the business logic.
|
adjustCommandDefinition, getOrder, validatepublic static final String[] COMMAND_NAME
public static final CommandArgumentDefinition<String> NAME
public static final CommandArgumentDefinition<String> VERSION
public static final CommandArgumentDefinition<String> PROFILES
public static final CommandArgumentDefinition<Boolean> ACCEPT_LICENSES
public String[][] defineCommandNames()
CommandStepThis 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.
public void run(CommandResultsBuilder resultsBuilder) throws Exception
CommandStepCommandStep.getOrder(CommandDefinition) order.ExceptionCopyright © 2022 Liquibase.org. All rights reserved.