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