List of usage examples for org.springframework.batch.core.launch.support ExitCodeMapper JOB_NOT_PROVIDED
String JOB_NOT_PROVIDED
To view the source code for org.springframework.batch.core.launch.support ExitCodeMapper JOB_NOT_PROVIDED.
Click Source Link
From source file:org.springframework.batch.core.launch.support.SimpleJvmExitCodeMapper.java
public SimpleJvmExitCodeMapper() { mapping = new HashMap<String, Integer>(); mapping.put(ExitStatus.COMPLETED.getExitCode(), JVM_EXITCODE_COMPLETED); mapping.put(ExitStatus.FAILED.getExitCode(), JVM_EXITCODE_GENERIC_ERROR); mapping.put(ExitCodeMapper.JOB_NOT_PROVIDED, JVM_EXITCODE_JOB_ERROR); mapping.put(ExitCodeMapper.NO_SUCH_JOB, JVM_EXITCODE_JOB_ERROR); }