@Extension public class CLICommandAdapter extends SshCommandFactory
SshCommandFactory
that invokes CLICommand
s.SshCommandFactory.CommandLine
Constructor and Description |
---|
CLICommandAdapter() |
Modifier and Type | Method and Description |
---|---|
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. |
all
public org.apache.sshd.server.Command create(SshCommandFactory.CommandLine commandLine)
SshCommandFactory
Command
and that command will be used to handle the request.
Otherwise return null to let other SshCommandFactory
s handle it.create
in class SshCommandFactory
commandLine
- Represents the command line the client wants to invoke.Copyright © 2014. All rights reserved.