Examples of TriggerWrap


Examples of com.google.code.lightssh.project.scheduler.entity.TriggerWrap

 
  /**
   * 获取触发器
   */
  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;
View Full Code Here

Examples of com.google.code.lightssh.project.scheduler.entity.TriggerWrap

      result = new ArrayList<TriggerWrap>();
     
      //Map<String,JobInterval> jiMap = getJobIntervalMap();
     
      for(Trigger trigger:list ){
        TriggerWrap wrap = new TriggerWrap( trigger );
        wrap.setState(getTriggerState(trigger.getKey()));
       
        result.add(wrap);
      }
    }
    return result;
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.