public void disableTrigger(String triggerId) throws TriggerNotFoundException, SchedulerException {
        Trigger trigger = getTrigger(triggerId);
        if (trigger != null) {
            disableTrigger(trigger);
        } else {
            throw new TriggerNotFoundException("No trigger found with trigger id: " + triggerId);
        }
    }
public void disableTrigger(String triggerId) throws TriggerNotFoundException, SchedulerException {
        Trigger trigger = getTrigger(triggerId);
        if (trigger != null) {
            disableTrigger(trigger);
        } else {
            throw new TriggerNotFoundException("No trigger found with trigger id: " + triggerId);
        }
    }
public void disableTrigger ( String triggerId ) throws TriggerNotFoundException , SchedulerException { Trigger trigger = getTrigger ( triggerId ) ; if ( trigger != null ) { disableTrigger ( trigger ) ; } else { throw new TriggerNotFoundException ( "No trigger found with trigger id: " + triggerId ) ; } }
Disables the {@code Trigger}. If the {@code Trigger} is disabled it will <em>not</em> execute.
@warn exception SchedulerException description missing

@param triggerId the string that uniquely identifies the {@code Trigger} to be disabled
@throws TriggerNotFoundException if there is no {@code Trigger} that matches {@code triggerId}
@throws SchedulerException
Disables the { @code Trigger } . If the { @code Trigger } is disabled it will <em > not< / em > execute . @warn exception SchedulerException description missing