|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ProcessResult
The result of executing an external process.
| Method Summary | |
|---|---|
ProcessResult |
assertNormalExitValue()
Throws an exception if the process exited with a non-zero exit value. |
int |
getExitValue()
Returns the exit value of the process. |
ProcessResult |
rethrowFailure()
Re-throws any failure executing this process. |
| Method Detail |
|---|
@NonNull
ProcessResult assertNormalExitValue()
throws ProcessException
ProcessException - if the process exited with a non-zero exit valueint getExitValue()
@NonNull
ProcessResult rethrowFailure()
throws ProcessException
ProcessException - the execution failure wrapped in a ProcessExecution
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||