public class ProcessResult extends Object
| Modifier and Type | Class | Description |
|---|---|---|
static class |
ProcessResult.Status |
Status of a process' execution.
|
| Constructor | Description |
|---|---|
ProcessResult(int exitCode,
ProcessResult.Status status) |
|
ProcessResult(ProcessResult.Status status) |
Instantiates a process result with the given status and an exit code of
-1. |
| Modifier and Type | Method | Description |
|---|---|---|
int |
getExitCode() |
|
ProcessResult.Status |
getStatus() |
public ProcessResult(ProcessResult.Status status)
-1.status - Status describing the execution of the external process.public ProcessResult(int exitCode,
ProcessResult.Status status)
exitCode - Exit code of the process.status - Status describing the execution of the external process.public int getExitCode()
public ProcessResult.Status getStatus()
Copyright © 2018. All rights reserved.