Package com.platformlib.process.api
Interface ProcessInstance
-
- All Known Implementing Classes:
DefaultProcessInstance
public interface ProcessInstanceProcess instance. Contains process information which is available after process finish.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetExitCode()Get process exit code.java.util.Collection<java.lang.String>getStdErr()Get process error output.java.util.Collection<java.lang.String>getStdOut()Get process standard output.
-
-
-
Method Detail
-
getExitCode
int getExitCode()
Get process exit code.- Returns:
- Returns process exit code
-
getStdOut
java.util.Collection<java.lang.String> getStdOut()
Get process standard output.- Returns:
- Returns process standard out output
- Throws:
OutputOverflowException- if process standard out output is more than was limited for process
-
getStdErr
java.util.Collection<java.lang.String> getStdErr()
Get process error output.- Returns:
- Returns process standard error output
- Throws:
OutputOverflowException- if process standard error output is more than was limited for process
-
-