result.setFailed(SCHEDULER_IS_NULL);
}else{
try {
List<LazyDynaBean> beans = new ArrayList<LazyDynaBean>();
for(Trigger trigger:SchedulerProvider.scheduler.getTriggersOfJob(GetObjectString.string2JobKey(taskinfo.getId()))){
TriggerKey triggerKey = trigger.getKey();
LazyDynaBean bean = new LazyDynaBean();
bean.set("triggerKey", triggerKey.toString());
bean.set("name", triggerKey.getName());
bean.set("group", triggerKey.getGroup());
bean.set("description", trigger.getDescription());
bean.set("previousFireTime", trigger.getPreviousFireTime());
bean.set("nextFireTime", trigger.getNextFireTime());
TriggerState trigState = SchedulerProvider.scheduler.getTriggerState(triggerKey);
bean.set("trigState", trigState);