public static String getJobRunState ( int state ) { if ( state < 1 || state >= runStates . length ) { return UNKNOWN ; } return runStates [ state ] ; }
Helper method to get human - readable state of the job .