org.jenkinsci.main.modules.sshd
Class SshCommandFactory
java.lang.Object
org.jenkinsci.main.modules.sshd.SshCommandFactory
- All Implemented Interfaces:
- hudson.ExtensionPoint
- Direct Known Subclasses:
- CLICommandAdapter
public abstract class SshCommandFactory
- extends Object
- implements hudson.ExtensionPoint
Extension point for adding commands invokable via SSH.
- Author:
- Kohsuke Kawaguchi
| Nested classes/interfaces inherited from interface hudson.ExtensionPoint |
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson |
|
Method Summary |
static hudson.ExtensionList<SshCommandFactory> |
all()
|
abstract 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 |
SshCommandFactory
public SshCommandFactory()
create
public abstract 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.
Otherwise return null to let other SshCommandFactorys handle it.
- Parameters:
commandLine - Represents the command line the client wants to invoke.
all
public static hudson.ExtensionList<SshCommandFactory> all()
Copyright © 2004-2012. All Rights Reserved.