/**
* 获取触发器
*/
public TriggerWrap get(String group,String name){
TriggerWrap wrap = null;
try {
Trigger trigger = scheduler.getTrigger( TriggerKey.triggerKey(name, group) );
wrap = new TriggerWrap( trigger );
wrap.setState(getTriggerState(trigger.getKey()));
} catch (SchedulerException e) {
return null;
}
return wrap;