public Collection<DisplayableJob> getExecutingJobs() {
List<DisplayableJob> jobs = new ArrayList<DisplayableJob>();
List<JobExecutionContext> execing = scheduler.getCurrentlyExecutingJobs();
for (JobExecutionContext exec : execing) {
Trigger trigger = exec.getTrigger();
DisplayableJob job = getDisplayableJob(Integer.parseInt(trigger.getJobName()));
jobs.add(job);
}
return jobs;
}