public interface OutputStreamSpec
Describes how output and output need needs to be managed for an external process.
| Type Params | Return Type | Name and description |
|---|---|---|
|
public void |
capture()Captures the output of the running process. |
|
public void |
captureAndForward()Captures the output of the running process, but also forwards it to console. |
|
public void |
captureTo(Provider<File> out)Capture output to this the given file. |
|
public void |
forward()Forwards the standard output from the running process to console except if running in quiet mode. |
|
public Provider<File> |
getFileCapture()Obtains the file capture lcoation if it has been set. |
|
public OutputType |
getOutputType()Get the output type that corresponds to the current configuration. |
|
public void |
noOutput()Do not forward or capture output. |
Captures the output of the running process.
NOTE: Processes run in a worker will silently ignore this setting
.Captures the output of the running process, but also forwards it to console.
NOTE: Processes run in a worker will silently ignore this setting
.Capture output to this the given file.
out - Provider of a file.Forwards the standard output from the running process to console except if running in quiet mode.
This is standard behaviour for most cases, except if implementors of task and execution specifications decide to override it.
NOTE: Processes run in a worker will silently ignore this setting
.Obtains the file capture lcoation if it has been set.
Get the output type that corresponds to the current configuration.
Do not forward or capture output.