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 receive from the standard error. |
java.lang.Boolean |
ignoreErrorIgnores the exit status of the command or shell. |
java.lang.Object |
inputStreamAn input stream to send to the standard input. |
groovy.lang.Closure |
interactionStream interaction. |
LoggingMethod |
loggingA logging method of the remote command or shell. |
java.io.OutputStream |
outputStreamAn output stream to receive from 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 receive from the standard error.
Ignores the exit status of the command or shell.
An input stream to send to the standard input.
This should be a java.io.InputStream, byte[], java.lang.String or java.io.File.
Stream interaction.
A logging method of the remote command or shell.
An output stream to receive from 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.