|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.scheduler.core.status.AbstractJobDetailsFactory<org.quartz.Trigger>
com.atlassian.scheduler.quartz2.Quartz2JobDetailsFactory
public class Quartz2JobDetailsFactory
Creates JobDetails objects out of Quartz 2.x Triggers.
| Method Summary | |
|---|---|
protected JobRunnerKey |
getJobRunnerKey(org.quartz.Trigger trigger)
Provided by the scheduler implementation to extract the job's JobRunnerKey from
the scheduler's internal representation of the job. |
protected Date |
getNextRunTime(org.quartz.Trigger trigger)
Provided by the scheduler implementation to extract the job's next scheduled run time from the scheduler's internal representation of the job. |
protected Schedule |
getSchedule(org.quartz.Trigger trigger)
Provided by the scheduler implementation to extract the job's Schedule from
the scheduler's internal representation of the job. |
protected byte[] |
getSerializedParameters(org.quartz.Trigger trigger)
Provided by the scheduler implementation to extract the job's parameters map (in serialized form) from the scheduler's internal representation of the job. |
| Methods inherited from class com.atlassian.scheduler.core.status.AbstractJobDetailsFactory |
|---|
buildJobDetails |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
@Nonnull
protected JobRunnerKey getJobRunnerKey(@Nonnull
org.quartz.Trigger trigger)
AbstractJobDetailsFactoryJobRunnerKey from
the scheduler's internal representation of the job.
getJobRunnerKey in class AbstractJobDetailsFactory<org.quartz.Trigger>trigger - the scheduler's internal representation of the job
@Nonnull
protected Schedule getSchedule(@Nonnull
org.quartz.Trigger trigger)
AbstractJobDetailsFactorySchedule from
the scheduler's internal representation of the job.
getSchedule in class AbstractJobDetailsFactory<org.quartz.Trigger>trigger - the scheduler's internal representation of the job
Schedule
@Nullable
protected byte[] getSerializedParameters(@Nonnull
org.quartz.Trigger trigger)
AbstractJobDetailsFactory
getSerializedParameters in class AbstractJobDetailsFactory<org.quartz.Trigger>trigger - the scheduler's internal representation of the job
null,
in which case an empty map will be substituted
@Nullable
protected Date getNextRunTime(@Nonnull
org.quartz.Trigger trigger)
AbstractJobDetailsFactory
getNextRunTime in class AbstractJobDetailsFactory<org.quartz.Trigger>trigger - the scheduler's internal representation of the job
null if the job will not be run again or
if the scheduler does not provide information about future run times
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||