public interface ExitCodeMapper
Modifier and Type | Field and Description |
---|---|
static String |
JOB_NOT_PROVIDED |
static int |
JVM_EXITCODE_COMPLETED |
static int |
JVM_EXITCODE_GENERIC_ERROR |
static int |
JVM_EXITCODE_JOB_ERROR |
static String |
NO_SUCH_JOB |
Modifier and Type | Method and Description |
---|---|
int |
intValue(String exitCode)
Convert the exit code from String into an integer that the calling
environment as an operating system can interpret as an exit status.
|
static final int JVM_EXITCODE_COMPLETED
static final int JVM_EXITCODE_GENERIC_ERROR
static final int JVM_EXITCODE_JOB_ERROR
static final String NO_SUCH_JOB
static final String JOB_NOT_PROVIDED
int intValue(String exitCode)
exitCode
- The exit code which is used internally.Copyright © 2019 Pivotal. All rights reserved.