com.atlassian.confluence.schedule.quartz
Class QuartzUtil

java.lang.Object
  extended by com.atlassian.confluence.schedule.quartz.QuartzUtil

public class QuartzUtil
extends Object

Utility for simplifying some quartz access.


Method Summary
static Date getNextFireTime(org.quartz.Scheduler scheduler, org.quartz.JobDetail jobDetail)
          Finds the trigger for the job and determines the next fire time.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getNextFireTime

public static Date getNextFireTime(org.quartz.Scheduler scheduler,
                                   org.quartz.JobDetail jobDetail)
Finds the trigger for the job and determines the next fire time. Cannot use the trigger, as it may just be a manual one-off trigger.

Parameters:
scheduler -
jobDetail -
Returns:
the date of the next firing time, or null if no firing time found.


Copyright © 2003-2012 Atlassian. All Rights Reserved.