Package org.jenkinsci.main.modules.sshd
Class CLICommandAdapter
java.lang.Object
org.jenkinsci.main.modules.sshd.SshCommandFactory
org.jenkinsci.main.modules.sshd.CLICommandAdapter
- All Implemented Interfaces:
ExtensionPoint
SshCommandFactory
that invokes CLICommand
s.- Author:
- Kohsuke Kawaguchi
-
Nested Class Summary
Nested classes/interfaces inherited from class org.jenkinsci.main.modules.sshd.SshCommandFactory
SshCommandFactory.CommandLine
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.apache.sshd.server.command.Command
create
(SshCommandFactory.CommandLine commandLine) If this factory understands the specified command, return a non-nullCommand
and that command will be used to handle the request.Methods inherited from class org.jenkinsci.main.modules.sshd.SshCommandFactory
all
-
Constructor Details
-
CLICommandAdapter
public CLICommandAdapter()
-
-
Method Details
-
create
Description copied from class:SshCommandFactory
If this factory understands the specified command, return a non-nullCommand
and that command will be used to handle the request. Otherwise return null to let otherSshCommandFactory
s handle it.- Specified by:
create
in classSshCommandFactory
- Parameters:
commandLine
- Represents the command line the client wants to invoke.
-