Class PluginCommandModule

  • All Implemented Interfaces:
    com.google.inject.Module

    public abstract class PluginCommandModule
    extends CommandModule
    • Constructor Detail

      • PluginCommandModule

        public PluginCommandModule()
    • Method Detail

      • configure

        protected final void configure()
        Overrides:
        configure in class com.google.inject.AbstractModule
      • configureCommands

        protected abstract void configureCommands()
      • command

        protected com.google.inject.binder.LinkedBindingBuilder<org.apache.sshd.server.command.Command> command​(String subCmd)
        Description copied from class: CommandModule
        Configure a command to be invoked by name.
        Overrides:
        command in class CommandModule
        Parameters:
        subCmd - the name of the command the client will provide in order to call the command.
        Returns:
        a binding that must be bound to a non-singleton provider for a Command object.