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

Method Summary
 ExitStatus getExitStatus(int exitCode)
           
 

Method Detail

getExitStatus

ExitStatus getExitStatus(int exitCode)
Parameters:
exitCode - exit code returned by the system process
Returns:
ExitStatus appropriate for the systemExitCode parameter value


Copyright © 2009 SpringSource. All Rights Reserved.