Package com.dotmarketing.quartz

Examples of com.dotmarketing.quartz.TaskRuntimeValues


 

  public void run(JobExecutionContext jobContext) throws JobExecutionException {   
    SiteSearchJobImpl jobImpl = new SiteSearchJobImpl();
    SiteSearchPublishStatus status = null;
    TaskRuntimeValues trv = QuartzUtils.getTaskRuntimeValues(jobContext.getJobDetail().getName(), jobContext.getJobDetail().getGroup());
    if(trv ==null || !(trv instanceof SiteSearchPublishStatus)){
      status = new SiteSearchPublishStatus();
      QuartzUtils.setTaskRuntimeValues(jobContext.getJobDetail().getName(), jobContext.getJobDetail().getGroup(), status);
    }
    status = (SiteSearchPublishStatus) QuartzUtils.getTaskRuntimeValues(jobContext.getJobDetail().getName(), jobContext.getJobDetail().getGroup());
View Full Code Here

TOP

Related Classes of com.dotmarketing.quartz.TaskRuntimeValues

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.