public class ConvertCommandStep extends AbstractCommandStep
| Modifier and Type | Field and Description |
|---|---|
static CommandArgumentDefinition<String> |
CLASSPATH_ARG |
static CommandArgumentDefinition<String> |
OUT_ARG |
static CommandArgumentDefinition<String> |
SRC_ARG |
ORDER_DEFAULT, ORDER_NOT_APPLICABLE| Constructor and Description |
|---|
ConvertCommandStep() |
| 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"}}.
|
int |
getOrder(CommandDefinition commandDefinition)
The order in the pipeline that this step should be executed in.
|
void |
run(CommandResultsBuilder resultsBuilder)
Performs the business logic.
|
adjustCommandDefinition, validatepublic static final CommandArgumentDefinition<String> SRC_ARG
public static final CommandArgumentDefinition<String> OUT_ARG
public static final CommandArgumentDefinition<String> CLASSPATH_ARG
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 int getOrder(CommandDefinition commandDefinition)
CommandStepCommandDefinition.getName() but it can check other things in the definition such as arguments.getOrder in interface CommandStepgetOrder in class AbstractCommandStepCommandStep.ORDER_DEFAULT if the command scope's name matches CommandStep.defineCommandNames(). Otherwise CommandStep.ORDER_NOT_APPLICABLEpublic void run(CommandResultsBuilder resultsBuilder) throws Exception
CommandStepCommandStep.getOrder(CommandDefinition) order.ExceptionCopyright © 2022 Liquibase.org. All rights reserved.