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