public abstract class SshCommandFactory extends Object implements hudson.ExtensionPoint
Modifier and Type | Class and Description |
---|---|
static class |
SshCommandFactory.CommandLine
Represents a command line.
|
Constructor and Description |
---|
SshCommandFactory() |
Modifier and Type | Method and Description |
---|---|
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. |
public abstract org.apache.sshd.server.Command create(SshCommandFactory.CommandLine commandLine)
Command
and that command will be used to handle the request.
Otherwise return null to let other SshCommandFactory
s handle it.commandLine
- Represents the command line the client wants to invoke.public static hudson.ExtensionList<SshCommandFactory> all()
Copyright © 2015. All rights reserved.