public.javadoc.org.spincast.plugins.processutils.SyncExecutionResultDefault.html Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of spincast-website Show documentation
Show all versions of spincast-website Show documentation
Source code for the https://www.spincast.org website.
SyncExecutionResultDefault (org.spincast:spincast-framework 1.14.0 API)
org.spincast.plugins.processutils
Class SyncExecutionResultDefault
- java.lang.Object
-
- org.spincast.plugins.processutils.SyncExecutionResultDefault
-
- All Implemented Interfaces:
- SyncExecutionResult
public class SyncExecutionResultDefault
extends Object
implements SyncExecutionResult
-
-
Constructor Summary
Constructors
Constructor and Description
SyncExecutionResultDefault(int exitCode,
List<String> outLines,
List<String> errLines)
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
int
getExitCode()
The exit code of the program.
List<String>
getSystemErrLines()
The System standard errors produced by the
executed program.
List<String>
getSystemOutLines()
The System standard output produced by the
executed program.
String
toString()
-
-
Method Detail
-
getExitCode
public int getExitCode()
Description copied from interface: SyncExecutionResult
The exit code of the program.
- Specified by:
getExitCode
in interface SyncExecutionResult
-
getSystemOutLines
public List<String> 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 interface SyncExecutionResult
-
getSystemErrLines
public List<String> 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 interface SyncExecutionResult
Copyright © 2019. All rights reserved.