Package com.google.gerrit.sshd
Class SingleCommandPluginModule
java.lang.Object
com.google.inject.AbstractModule
com.google.gerrit.extensions.config.FactoryModule
com.google.gerrit.lifecycle.LifecycleModule
com.google.gerrit.sshd.CommandModule
com.google.gerrit.sshd.SingleCommandPluginModule
- All Implemented Interfaces:
com.google.inject.Module
Binds one SSH command to the plugin name itself.
Cannot be combined with PluginCommandModule
.
-
Field Summary
Fields inherited from class com.google.gerrit.sshd.CommandModule
slaveMode
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.google.gerrit.sshd.CommandModule
alias, alias, command, command, command, command
Methods inherited from class com.google.gerrit.lifecycle.LifecycleModule
listener
Methods inherited from class com.google.gerrit.extensions.config.FactoryModule
factory
Methods inherited from class com.google.inject.AbstractModule
addError, addError, addError, bind, bind, bind, bindConstant, binder, bindInterceptor, bindListener, bindListener, bindScope, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestInjection, requestStaticInjection, requireBinding, requireBinding
-
Constructor Details
-
SingleCommandPluginModule
public SingleCommandPluginModule()
-
-
Method Details
-
configure
protected final void configure()- Overrides:
configure
in classcom.google.inject.AbstractModule
-
configure
protected abstract void configure(com.google.inject.binder.LinkedBindingBuilder<org.apache.sshd.server.command.Command> bind)
-