コード例 #1
0
  /**
   * Removes the job from the schedule if it exists.
   *
   * @param id
   */
  public synchronized void removeScheduledJob(String id) {
    ScheduledJob job = scheduleIDMap.get(id);
    scheduleIDMap.remove(id);
    runner.removeScheduledJob(job);

    loader.saveSchedule(getSchedule());
  }
コード例 #2
0
 /** Save the schedule */
 private void saveSchedule() {
   loader.saveSchedule(getSchedule());
 }