Interface ExitCodeMapper

  • All Known Implementing Classes:
    SimpleJvmExitCodeMapper

    public interface ExitCodeMapper
    This interface should be implemented when an environment calling the batch framework has specific requirements regarding the operating system process return status.
    Author:
    Stijn Maller, Lucas Ward, Dave Syer
    • Method Detail

      • intValue

        int intValue​(java.lang.String exitCode)
        Convert the exit code from String into an integer that the calling environment as an operating system can interpret as an exit status.
        Parameters:
        exitCode - The exit code which is used internally.
        Returns:
        The corresponding exit status as known by the calling environment.