public void deleteTrigger(String triggerGroup, String triggerId) throws TriggerNotFoundException, SchedulerException {
        Trigger trigger = getTrigger(triggerId);
        if (trigger != null) {
            deleteTrigger(triggerGroup, trigger);
        } else {
            throw new TriggerNotFoundException("No trigger found for trigger id: " + triggerId);
        }
    }
public void deleteTrigger(String triggerGroup, String triggerId) throws TriggerNotFoundException, SchedulerException {
        Trigger trigger = getTrigger(triggerId);
        if (trigger != null) {
            deleteTrigger(triggerGroup, trigger);
        } else {
            throw new TriggerNotFoundException("No trigger found for trigger id: " + triggerId);
        }
    }
public void deleteTrigger ( String triggerGroup , String triggerId ) throws TriggerNotFoundException , SchedulerException { Trigger trigger = getTrigger ( triggerId ) ; if ( trigger != null ) { deleteTrigger ( triggerGroup , trigger ) ; } else { throw new TriggerNotFoundException ( "No trigger found for trigger id: " + triggerId ) ; } }
Deletes/Removes the {@code Trigger}. If it is a {@code ScheduledTrigger} then it is also un-scheduled from
scheduler.

@param triggerId the string that uniquely identifies the {@code Trigger} to be removed
@throws TriggerNotFoundException if there is no {@code Trigger} that matches {@code triggerId}
@throws SchedulerException
Deletes / Removes the { @code Trigger } . If it is a { @code ScheduledTrigger } then it is also un - scheduled from scheduler .