| | |
| | | } |
| | | } |
| | | |
| | | /** Creates a {@link CommandBuilder} with {@code null} command and subcommand names. */ |
| | | public CommandBuilder() { |
| | | this(null, null); |
| | | } |
| | | |
| | | /** |
| | | * The constructor for the CommandBuilder. |
| | | * |
| | |
| | | } |
| | | |
| | | /** |
| | | * Removes the provided arguments from this CommandBuilder. |
| | | * Arguments which are not in this {@link CommandBuilder} will be ignored. |
| | | * |
| | | * @param arguments |
| | | * Arguments to be removed. |
| | | */ |
| | | public void removeArguments(final Argument... arguments) { |
| | | for (final Argument argument : arguments) { |
| | | removeArgument(argument); |
| | | } |
| | | } |
| | | |
| | | /** |
| | | * Appends the arguments of another command builder to this command builder. |
| | | * |
| | | * @param builder |