Package com.google.code.lightssh.project.scheduler.entity

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


      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

Related Classes of com.google.code.lightssh.project.scheduler.entity.TriggerWrap

Copyright © 2018 www.massapicom. 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.