public class CommandBuilder extends Object
CommandStep settings, such as CommandArgumentDefinitions and CommandResultDefinitions| Constructor and Description |
|---|
CommandBuilder(String[]... commandNames)
Creates a builder for the given command name
|
| Modifier and Type | Method and Description |
|---|---|
<DataType> CommandArgumentDefinition.Building<DataType> |
argument(CommonArgumentNames argument,
Class<DataType> type)
Starts the building of a new
CommandArgumentDefinition. |
<DataType> CommandArgumentDefinition.Building<DataType> |
argument(String name,
Class<DataType> type)
Starts the building of a new
CommandArgumentDefinition. |
<DataType> CommandResultDefinition.Building<DataType> |
result(String name,
Class<DataType> type)
Starts the building of a new
CommandResultDefinition. |
public CommandBuilder(String[]... commandNames)
public <DataType> CommandArgumentDefinition.Building<DataType> argument(String name, Class<DataType> type)
CommandArgumentDefinition.public <DataType> CommandArgumentDefinition.Building<DataType> argument(CommonArgumentNames argument, Class<DataType> type)
CommandArgumentDefinition.public <DataType> CommandResultDefinition.Building<DataType> result(String name, Class<DataType> type)
CommandResultDefinition.Copyright © 2022 Liquibase.org. All rights reserved.