CommandStep settings, such as CommandArgumentDefinitions and CommandResultDefinitions
| Modifier and Type | Field and Description |
|---|---|
| private final String[][] |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public <DataType> CommandArgumentDefinition. | addArgument(CommandArgumentDefinition<DataType> example)
Uses an existing |
| public <DataType> CommandArgumentDefinition. | |
| public <DataType> CommandArgumentDefinition. | argument(CommonArgumentNames argument, Class<DataType> type)
Starts the building of a new |
| public <DataType> CommandResultDefinition. |
| commandNames | back to summary |
|---|---|
| private final String[][] commandNames | |
| CommandBuilder | back to summary |
|---|---|
| public CommandBuilder(String[]... commandNames) Creates a builder for the given command name | |
| addArgument | back to summary |
|---|---|
| public <DataType> CommandArgumentDefinition. Uses an existing | |
| argument | back to summary |
|---|---|
| public <DataType> CommandArgumentDefinition. Starts the building of a new | |
| argument | back to summary |
|---|---|
| public <DataType> CommandArgumentDefinition. Starts the building of a new | |
| result | back to summary |
|---|---|
| public <DataType> CommandResultDefinition. Starts the building of a new | |