类 SimpleSystemProcessExitCodeMapper
- java.lang.Object
- org.springframework.batch.core.step.tasklet.SimpleSystemProcessExitCodeMapper
- 所有已实现的接口:
SystemProcessExitCodeMapper
public class SimpleSystemProcessExitCodeMapper extends java.lang.Object implements SystemProcessExitCodeMapper
SimpleSystemProcessExitCodeMapper
implementation that performs following mapping: 0 -> ExitStatus.FINISHED else -> ExitStatus.FAILED- 作者:
- Robert Kasanicky
构造器概要
构造器 构造器 说明 SimpleSystemProcessExitCodeMapper()
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 ExitStatus
getExitStatus(int exitCode)
构造器详细资料
SimpleSystemProcessExitCodeMapper
public SimpleSystemProcessExitCodeMapper()
方法详细资料
getExitStatus
public ExitStatus getExitStatus(int exitCode)
- 指定者:
getExitStatus
在接口中SystemProcessExitCodeMapper
- 参数:
exitCode
- exit code returned by the system process- 返回:
- ExitStatus appropriate for the
systemExitCode
parameter value