| Modifier and Type | Class and Description |
|---|---|
| public static enum | ProcessResult.
Status of a process' execution. |
| Modifier and Type | Field and Description |
|---|---|
| private final int | exitCode
The exit code of the process. |
| private final ProcessResult. | status
Status of the process' execution. |
| Access | Constructor and Description |
|---|---|
| public | ProcessResult(ProcessResult.
Status describing the execution of the external process. statusInstantiates a process result with the given status and an exit code of
|
| public | ProcessResult(int
Exit code of the process. exitCode, ProcessResult.Status describing the execution of the external process. statusConstructor for ProcessResult. |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public ProcessResult. | |
| public boolean | Returns: true if the execution occurred and resulted in a
return code different from 0, false otherwise.Whether the execution occurred and resulted in an error |
| exitCode | back to summary |
|---|---|
| private final int exitCode The exit code of the process. | |
| status | back to summary |
|---|---|
| private final ProcessResult. Status of the process' execution. | |
| ProcessResult | back to summary |
|---|---|
| public ProcessResult(ProcessResult. Instantiates a process result with the given status and an exit code of
| |
| ProcessResult | back to summary |
|---|---|
| public ProcessResult(int exitCode, ProcessResult. Constructor for ProcessResult.
| |
| getExitCode | back to summary |
|---|---|
| public int getExitCode() Get exit code of the process.
| |
| getStatus | back to summary |
|---|---|
| public ProcessResult. Get the status of the process' execution.
| |
| isExecutedWithError | back to summary |
|---|---|
| public boolean isExecutedWithError() Whether the execution occurred and resulted in an error
| |
| Modifier and Type | Field and Description |
|---|---|
| public static final ProcessResult. | NOT_PRESENT
The script was not found on disk and thus could not be launched. |
| public static final ProcessResult. | NOT_SUPPORTED
The script was found but could not be launched since it was not
supported by the current |
| public static final ProcessResult. | OK
The script was found and launched properly. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static ProcessResult. | |
| public static ProcessResult. |
| NOT_PRESENT | back to summary |
|---|---|
| public static final ProcessResult. The script was not found on disk and thus could not be launched. | |
| NOT_SUPPORTED | back to summary |
|---|---|
| public static final ProcessResult. The script was found but could not be launched since it was not
supported by the current | |
| OK | back to summary |
|---|---|
| public static final ProcessResult. The script was found and launched properly. It may still have exited
with a non-zero | |
| Status | back to summary |
|---|---|
| private Status() | |
| valueOf | back to summary |
|---|---|
| public static ProcessResult. | |
| values | back to summary |
|---|---|
| public static ProcessResult. | |