Package 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

  Modifier and Type
  Method
  Description
  `ExitStatus`
  `getExitStatus(int exitCode)`

- ## Method Details

  - ### getExitStatus

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