code: public void disableTrigger(Trigger trigger) throws SchedulerException {
          trigger.setDisabled(true);
          triggerDao.updateTrigger(trigger);
          if (trigger instanceof ScheduledTrigger) {
              unscheduleTrigger((ScheduledTrigger) trigger);
          }
      }
docs: Disables the {@code Trigger}. If the {@code Trigger} is disabled it will <em>not</em> execute.
  @warn exception SchedulerException description missing
  
  @param trigger the {@code Trigger} to be disabled
  @throws SchedulerException