public interface CliAddCommand
Interface to add
CliCommands.- Since:
- 1.0.0
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionadd(CliCommand command) default CliAddCommandadd(CliCommand... commands) default CliAddCommandadd(Class<? extends CliCommand> commandInterface) default CliAddCommandadd(Class<? extends CliCommand>... commandInterfaces)
-
Method Details
-
add
- Parameters:
commandInterface- theClassreflecting theCliCommandinterface to register.- Returns:
- this object itself for fluent API calls.
-
add
- Parameters:
commandInterfaces- theClasses reflecting theCliCommandinterfaces to register.- Returns:
- this object itself for fluent API calls.
-
add
- Parameters:
command- theCliCommandto register.- Returns:
- this object itself for fluent API calls.
-
add
- Parameters:
commands- theCliCommands to register.- Returns:
- this object itself for fluent API calls.
-