Class CLICommandAdapter

java.lang.Object
org.jenkinsci.main.modules.sshd.SshCommandFactory
org.jenkinsci.main.modules.sshd.CLICommandAdapter
All Implemented Interfaces:
ExtensionPoint

@Extension public class CLICommandAdapter extends SshCommandFactory
Author:
Kohsuke Kawaguchi
  • Constructor Details

    • CLICommandAdapter

      public CLICommandAdapter()
  • Method Details

    • create

      public org.apache.sshd.server.command.Command create(SshCommandFactory.CommandLine commandLine)
      Description copied from class: SshCommandFactory
      If this factory understands the specified command, return a non-null Command and that command will be used to handle the request. Otherwise return null to let other SshCommandFactorys handle it.
      Specified by:
      create in class SshCommandFactory
      Parameters:
      commandLine - Represents the command line the client wants to invoke.