Class SyncExecutionResultDefault
java.lang.Object
org.spincast.plugins.processutils.SyncExecutionResultDefault
- All Implemented Interfaces:
SyncExecutionResult
-
Constructor Summary
ConstructorDescriptionSyncExecutionResultDefault
(int exitCode, List<String> outLines, List<String> errLines) -
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.toString()
-
Constructor Details
-
SyncExecutionResultDefault
-
-
Method Details
-
getExitCode
public int getExitCode()Description copied from interface:SyncExecutionResult
The exit code of the program.- Specified by:
getExitCode
in interfaceSyncExecutionResult
-
getSystemOutLines
Description copied from interface:SyncExecutionResult
The System standard output produced by the executed program.Note that those lines will be available only if the
ExecutionOutputStrategy.BUFFER
strategy is used!- Specified by:
getSystemOutLines
in interfaceSyncExecutionResult
-
getSystemErrLines
Description copied from interface:SyncExecutionResult
The System standard errors produced by the executed program.Note that those lines will be available only if the
ExecutionOutputStrategy.BUFFER
strategy is used!- Specified by:
getSystemErrLines
in interfaceSyncExecutionResult
-
toString
-