public class DispatchCommandProvider
extends java.lang.Object
implements com.google.inject.Provider<com.google.gerrit.sshd.DispatchCommand>
CommandModule
.Constructor and Description |
---|
DispatchCommandProvider(CommandName cn) |
Modifier and Type | Method and Description |
---|---|
com.google.gerrit.sshd.DispatchCommand |
get() |
RegistrationHandle |
register(CommandName name,
com.google.inject.Provider<org.apache.sshd.server.command.Command> cmd) |
RegistrationHandle |
replace(CommandName name,
com.google.inject.Provider<org.apache.sshd.server.command.Command> cmd) |
public DispatchCommandProvider(CommandName cn)
public com.google.gerrit.sshd.DispatchCommand get()
get
in interface javax.inject.Provider<com.google.gerrit.sshd.DispatchCommand>
public RegistrationHandle register(CommandName name, com.google.inject.Provider<org.apache.sshd.server.command.Command> cmd)
public RegistrationHandle replace(CommandName name, com.google.inject.Provider<org.apache.sshd.server.command.Command> cmd)