public class ProcessResult extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ProcessResult.Status
Status of a process' execution.
|
Constructor and 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 . |
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 © 2015. All rights reserved.