public class SimpleSystemProcessExitCodeMapper extends Object implements SystemProcessExitCodeMapper
SystemProcessExitCodeMapper
implementation that performs following mapping:
0 -> ExitStatus.FINISHED
else -> ExitStatus.FAILEDConstructor and Description |
---|
SimpleSystemProcessExitCodeMapper() |
public ExitStatus getExitStatus(int exitCode)
getExitStatus
in interface SystemProcessExitCodeMapper
exitCode
- exit code returned by the system processsystemExitCode
parameter valueCopyright © 2014 Pivotal. All rights reserved.