public void disableTrigger(Trigger trigger) throws SchedulerException {
        trigger.setDisabled(true);
        triggerDao.updateTrigger(trigger);
        if (trigger instanceof ScheduledTrigger) {
            unscheduleTrigger((ScheduledTrigger) trigger);
        }
    }
public void disableTrigger(Trigger trigger) throws SchedulerException {
        trigger.setDisabled(true);
        triggerDao.updateTrigger(trigger);
        if (trigger instanceof ScheduledTrigger) {
            unscheduleTrigger((ScheduledTrigger) trigger);
        }
    }
public void disableTrigger ( Trigger trigger ) throws SchedulerException { trigger . setDisabled ( true ) ; triggerDao . updateTrigger ( trigger ) ; if ( trigger instanceof ScheduledTrigger ) { unscheduleTrigger ( ( ScheduledTrigger ) trigger ) ; } }
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
Disables the { @code Trigger } . If the { @code Trigger } is disabled it will <em > not< / em > execute . @warn exception SchedulerException description missing