Settings for Command.
| Modifiers | Name | Description |
|---|---|---|
static class |
CommandSettings.With |
| Type | Name and description |
|---|---|
java.lang.Boolean |
agentForwardingUse agentForwarding flag. |
java.lang.String |
encodingEncoding of input and output stream. |
java.io.OutputStream |
errorStreamAn output stream to forward the standard error. |
java.lang.Boolean |
ignoreErrorIgnores the exit status of the command or shell. |
groovy.lang.Closure |
interactionStream interaction. |
LoggingMethod |
loggingA logging method of the remote command or shell. |
java.io.OutputStream |
outputStreamAn output stream to forward the standard output. |
java.lang.Boolean |
ptyPTY allocation flag. |
java.lang.Integer |
timeoutSecTimeout for the command channel to be connected in seconds. |
Use agentForwarding flag.
If true, agent will be forwarded to remote host.
Encoding of input and output stream.
An output stream to forward the standard error.
Ignores the exit status of the command or shell.
Stream interaction.
A logging method of the remote command or shell.
An output stream to forward the standard output.
PTY allocation flag.
If true, PTY will be allocated on command execution.
Timeout for the command channel to be connected in seconds.