/** Get the Job ID */ public JobID getJobId() { return JobID.forName(datum.getJobid().toString()); } /** Get the job priority */
HistoryEvent e = reader.getNextEvent(); assertTrue(e.getEventType().equals(EventType.JOB_PRIORITY_CHANGED)); assertEquals("ID", ((JobPriorityChange) e.getDatum()).getJobid().toString());