Class BatchProcessDriverCLI

  • public class BatchProcessDriverCLI
    extends Object
    • Field Detail


        public static final int PROCESS_RESTART_EXIT_CODE
        This relies on an special exit values of 254 (do not restart), 0 ended correctly, 253 ended with exception (do restart)
        See Also:
        Constant Field Values

        public static final int PROCESS_NO_RESTART_EXIT_CODE
        See Also:
        Constant Field Values

        public static final int PROCESS_COMPLETED_SUCCESSFULLY
        See Also:
        Constant Field Values
    • Constructor Detail

      • BatchProcessDriverCLI

        public BatchProcessDriverCLI​(String[] commandLine)
    • Method Detail

      • getNumRestarts

        public int getNumRestarts()
      • getUserInterrupted

        public boolean getUserInterrupted()
      • setRedirectChildProcessToStdOut

        public void setRedirectChildProcessToStdOut​(boolean redirectChildProcessToStdOut)
        Typically only used for testing. This determines whether or not to redirect child process's stdOut to driver's stdout
        redirectChildProcessToStdOut - should the driver redirect the child's stdout