Package liquibase.command
Class CommandBuilder
java.lang.Object
liquibase.command.CommandBuilder
Builder for configuring
CommandStep settings, such as CommandArgumentDefinitions and CommandResultDefinitions-
Constructor Summary
ConstructorsConstructorDescriptionCommandBuilder(String[]... commandNames) Creates a builder for the given command name -
Method Summary
Modifier and TypeMethodDescription<DataType> CommandArgumentDefinition.Building<DataType>addArgument(CommandArgumentDefinition<DataType> example) Uses an existingCommandArgumentDefinitionas template<DataType> CommandArgumentDefinition.Building<DataType>Starts the building of a newCommandArgumentDefinition.<DataType> CommandArgumentDefinition.Building<DataType>argument(CommonArgumentNames argument, Class<DataType> type) Starts the building of a newCommandArgumentDefinition.<DataType> CommandResultDefinition.Building<DataType>Starts the building of a newCommandResultDefinition.
-
Constructor Details
-
CommandBuilder
Creates a builder for the given command name
-
-
Method Details
-
argument
public <DataType> CommandArgumentDefinition.Building<DataType> argument(String name, Class<DataType> type) Starts the building of a newCommandArgumentDefinition. -
argument
public <DataType> CommandArgumentDefinition.Building<DataType> argument(CommonArgumentNames argument, Class<DataType> type) Starts the building of a newCommandArgumentDefinition. -
addArgument
public <DataType> CommandArgumentDefinition.Building<DataType> addArgument(CommandArgumentDefinition<DataType> example) Uses an existingCommandArgumentDefinitionas template -
result
public <DataType> CommandResultDefinition.Building<DataType> result(String name, Class<DataType> type) Starts the building of a newCommandResultDefinition.
-