org.springframework.batch.core.step.tasklet
Interface SystemProcessExitCodeMapper
- All Known Implementing Classes:
- ConfigurableSystemProcessExitCodeMapper, SimpleSystemProcessExitCodeMapper
public interface SystemProcessExitCodeMapper
Maps the exit code of a system process to ExitStatus value
returned by a system command. Designed for use with the
SystemCommandTasklet.
- Author:
- Robert Kasanicky
getExitStatus
ExitStatus getExitStatus(int exitCode)
- Parameters:
exitCode - exit code returned by the system process
- Returns:
- ExitStatus appropriate for the
systemExitCode parameter value
Copyright © 2009. All Rights Reserved.