接口 ExitCodeMapper
- 所有已知实现类:
SimpleJvmExitCodeMapper
public interface ExitCodeMapper
This interface should be implemented when an environment calling the batch framework has specific requirements regarding the operating system process return status.- 作者:
- Stijn Maller, Lucas Ward, Dave Syer
字段概要
字段 修饰符和类型 字段 说明 static java.lang.String
JOB_NOT_PROVIDED
static int
JVM_EXITCODE_COMPLETED
static int
JVM_EXITCODE_GENERIC_ERROR
static int
JVM_EXITCODE_JOB_ERROR
static java.lang.String
NO_SUCH_JOB
字段详细资料
JVM_EXITCODE_COMPLETED
static final int JVM_EXITCODE_COMPLETED
- 另请参阅:
- 常量字段值
JVM_EXITCODE_GENERIC_ERROR
static final int JVM_EXITCODE_GENERIC_ERROR
- 另请参阅:
- 常量字段值
JVM_EXITCODE_JOB_ERROR
static final int JVM_EXITCODE_JOB_ERROR
- 另请参阅:
- 常量字段值
NO_SUCH_JOB
static final java.lang.String NO_SUCH_JOB
- 另请参阅:
- 常量字段值
JOB_NOT_PROVIDED
static final java.lang.String JOB_NOT_PROVIDED
- 另请参阅:
- 常量字段值
方法详细资料
intValue
int intValue(java.lang.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.- 参数:
exitCode
- The exit code which is used internally.- 返回:
- The corresponding exit status as known by the calling environment.