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:
- hudson.ExtensionPoint
@Extension
public class CLICommandAdapter
- extends SshCommandFactory
SshCommandFactory that invokes CLICommands.
- Author:
- Kohsuke Kawaguchi
| Nested classes/interfaces inherited from interface hudson.ExtensionPoint |
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson |
|
Method Summary |
org.apache.sshd.server.Command |
create(SshCommandFactory.CommandLine commandLine)
If this factory understands the specified command, return a non-null Command
and that command will be used to handle the request. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CLICommandAdapter
public CLICommandAdapter()
create
public org.apache.sshd.server.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.
Copyright © 2004-2012. All Rights Reserved.