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
@Extension public class CLICommandAdapter extends SshCommandFactory
SshCommandFactory
that invokesCLICommand
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
Constructors Constructor Description CLICommandAdapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.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
-
-
-
-
Method Detail
-
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-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.
-
-