public class SimpleSystemProcessExitCodeMapper extends java.lang.Object implements SystemProcessExitCodeMapper
SystemProcessExitCodeMapper
implementation that performs following mapping:
0 -> ExitStatus.FINISHED
else -> ExitStatus.FAILEDConstructor and Description |
---|
SimpleSystemProcessExitCodeMapper() |
Modifier and Type | Method and Description |
---|---|
ExitStatus |
getExitStatus(int exitCode) |
public ExitStatus getExitStatus(int exitCode)
getExitStatus
in interface SystemProcessExitCodeMapper
exitCode
- exit code returned by the system processsystemExitCode
parameter value