public class ERQSJobExecutionContext4Test extends Object implements org.quartz.JobExecutionContext
Constructor and Description |
---|
ERQSJobExecutionContext4Test() |
ERQSJobExecutionContext4Test(boolean withScheduler) |
Modifier and Type | Method and Description |
---|---|
Object |
get(Object obj) |
org.quartz.Calendar |
getCalendar() |
String |
getFireInstanceId() |
Date |
getFireTime() |
org.quartz.JobDetail |
getJobDetail() |
org.quartz.Job |
getJobInstance() |
long |
getJobRunTime() |
org.quartz.JobDataMap |
getMergedJobDataMap() |
Date |
getNextFireTime() |
Date |
getPreviousFireTime() |
int |
getRefireCount() |
Object |
getResult() |
Date |
getScheduledFireTime() |
org.quartz.Scheduler |
getScheduler() |
org.quartz.Trigger |
getTrigger() |
boolean |
isRecovering() |
void |
put(Object obj,
Object obj1) |
void |
setResult(Object obj) |
void |
setSchedulerFP(ERQSSchedulerServiceFrameworkPrincipal fp) |
public ERQSJobExecutionContext4Test()
public ERQSJobExecutionContext4Test(boolean withScheduler)
withScheduler
- turns out that a quartz scheduler instance is required (see below).public org.quartz.Calendar getCalendar()
getCalendar
in interface org.quartz.JobExecutionContext
public Date getFireTime()
getFireTime
in interface org.quartz.JobExecutionContext
public org.quartz.JobDetail getJobDetail()
getJobDetail
in interface org.quartz.JobExecutionContext
public org.quartz.Job getJobInstance()
getJobInstance
in interface org.quartz.JobExecutionContext
public long getJobRunTime()
getJobRunTime
in interface org.quartz.JobExecutionContext
public org.quartz.JobDataMap getMergedJobDataMap()
getMergedJobDataMap
in interface org.quartz.JobExecutionContext
public Date getNextFireTime()
getNextFireTime
in interface org.quartz.JobExecutionContext
public Date getPreviousFireTime()
getPreviousFireTime
in interface org.quartz.JobExecutionContext
public int getRefireCount()
getRefireCount
in interface org.quartz.JobExecutionContext
public Object getResult()
getResult
in interface org.quartz.JobExecutionContext
public Date getScheduledFireTime()
getScheduledFireTime
in interface org.quartz.JobExecutionContext
public org.quartz.Scheduler getScheduler()
getScheduler
in interface org.quartz.JobExecutionContext
public org.quartz.Trigger getTrigger()
getTrigger
in interface org.quartz.JobExecutionContext
public boolean isRecovering()
isRecovering
in interface org.quartz.JobExecutionContext
public void put(Object obj, Object obj1)
put
in interface org.quartz.JobExecutionContext
public void setResult(Object obj)
setResult
in interface org.quartz.JobExecutionContext
public void setSchedulerFP(ERQSSchedulerServiceFrameworkPrincipal fp)
public String getFireInstanceId()
getFireInstanceId
in interface org.quartz.JobExecutionContext
Copyright © 2002 – 2020 Project Wonder.