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 CLICommands.- Author:
- Kohsuke Kawaguchi
-
Nested Class Summary
Nested classes/interfaces inherited from class org.jenkinsci.main.modules.sshd.SshCommandFactory
SshCommandFactory.CommandLineNested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.sshd.server.command.Commandcreate(SshCommandFactory.CommandLine commandLine) If this factory understands the specified command, return a non-nullCommandand 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:SshCommandFactoryIf this factory understands the specified command, return a non-nullCommandand that command will be used to handle the request. Otherwise return null to let otherSshCommandFactorys handle it.- Specified by:
createin classSshCommandFactory- Parameters:
commandLine- Represents the command line the client wants to invoke.
-