|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.springframework.batch.core.step.tasklet.SimpleSystemProcessExitCodeMapper
public class SimpleSystemProcessExitCodeMapper
Simple SystemProcessExitCodeMapper implementation that performs following mapping:
0 -> ExitStatus.FINISHED
else -> ExitStatus.FAILED
| Constructor Summary | |
|---|---|
SimpleSystemProcessExitCodeMapper()
|
|
| Method Summary | |
|---|---|
ExitStatus |
getExitStatus(int exitCode)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SimpleSystemProcessExitCodeMapper()
| Method Detail |
|---|
public ExitStatus getExitStatus(int exitCode)
getExitStatus in interface SystemProcessExitCodeMapperexitCode - exit code returned by the system process
systemExitCode parameter value
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||