public abstract class SshCommand extends BaseCommand
BaseCommand.CommandRunnable, BaseCommand.Failure, BaseCommand.ProjectCommandRunnable, BaseCommand.UnloggedFailure
Modifier and Type | Field and Description |
---|---|
protected PrintWriter |
stderr |
protected PrintWriter |
stdout |
ENC, err, in, out, STATUS_NOT_ADMIN
Constructor and Description |
---|
SshCommand() |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
run() |
void |
start(org.apache.sshd.server.Environment env) |
destroy, die, die, getArguments, getName, getPluginName, newCmdLineParser, onExit, parseCommandLine, parseCommandLine, provideStateTo, setArguments, setErrorStream, setExitCallback, setInputStream, setOutputStream, startThread, startThread, toPrintWriter, usage, writeError
protected PrintWriter stdout
protected PrintWriter stderr
public void start(org.apache.sshd.server.Environment env) throws IOException
IOException
protected abstract void run() throws BaseCommand.UnloggedFailure, BaseCommand.Failure, Exception