String intervalS = commandLine.getOptionValue(INTERVAL_OPTION);
if (intervalS != null) {
interval = Integer.parseInt(intervalS);
}
boolean verbose = commandLine.hasOption(VERBOSE_OPTION);
wc.pollJob(jobId, timeout, interval, verbose);
}
}
catch (OozieClientException ex) {
throw new OozieCLIException(ex.toString(), ex);
}