Interface SyncExecutionResult
- All Known Implementing Classes:
SyncExecutionResultDefault
public interface SyncExecutionResult
The result of the syncronous execution of an external program,
made using
executeSync
.-
Method Summary
Modifier and TypeMethodDescriptionint
The exit code of the program.The System standard errors produced by the executed program.The System standard output produced by the executed program.
-
Method Details
-
getExitCode
int getExitCode()The exit code of the program. -
getSystemOutLines
The System standard output produced by the executed program.Note that those lines will be available only if the
ExecutionOutputStrategy.BUFFER
strategy is used! -
getSystemErrLines
The System standard errors produced by the executed program.Note that those lines will be available only if the
ExecutionOutputStrategy.BUFFER
strategy is used!
-