System.out.println("No Jobs match your criteria!");
}
}
private void slaCommand(CommandLine commandLine) throws IOException, OozieCLIException {
XOozieClient wc = createXOozieClient(commandLine);
String s = commandLine.getOptionValue(OFFSET_OPTION);
int start = Integer.parseInt((s != null) ? s : "0");
s = commandLine.getOptionValue(LEN_OPTION);
int len = Integer.parseInt((s != null) ? s : "100");
try {
wc.getSlaInfo(start, len);
}
catch (OozieClientException ex) {
throw new OozieCLIException(ex.toString(), ex);
}
}