public abstract class PluginCommandModule extends CommandModule
slaveMode
Constructor and Description |
---|
PluginCommandModule() |
Modifier and Type | Method and Description |
---|---|
protected void |
alias(java.lang.String name,
java.lang.Class<? extends BaseCommand> clazz) |
protected void |
command(java.lang.Class<? extends BaseCommand> clazz) |
protected com.google.inject.binder.LinkedBindingBuilder<org.apache.sshd.server.Command> |
command(java.lang.String subCmd)
Configure a command to be invoked by name.
|
protected void |
configure() |
protected abstract void |
configureCommands() |
alias, alias, command, command, command
listener
addError, addError, addError, bind, bind, bind, bindConstant, binder, bindInterceptor, bindListener, bindListener, bindScope, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestStaticInjection, requireBinding, requireBinding
protected final void configure()
configure
in class com.google.inject.AbstractModule
protected abstract void configureCommands()
protected com.google.inject.binder.LinkedBindingBuilder<org.apache.sshd.server.Command> command(java.lang.String subCmd)
CommandModule
command
in class CommandModule
subCmd
- the name of the command the client will provide in order to
call the command.Command
object.protected void command(java.lang.Class<? extends BaseCommand> clazz)
protected void alias(java.lang.String name, java.lang.Class<? extends BaseCommand> clazz)