|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.exist.scheduler.SystemTaskJob
public class SystemTaskJob
Class to represent a SystemTask Job Can be used by SystemTasks to schedule themselves as job's SystemTaskJobs may only have a Single Instance running in the scheduler at once, intersecting schedules will be queued.
Constructor Summary | |
---|---|
SystemTaskJob()
Default Constructor for Quartz |
|
SystemTaskJob(String jobName,
SystemTask task)
Constructor for Creating a new SystemTask Job |
Method Summary | |
---|---|
void |
execute(JobExecutionContext jec)
|
String |
getGroup()
Get the name group for the job |
String |
getName()
Get the name of the job |
void |
setName(String jobName)
Set the name of the job |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SystemTaskJob()
public SystemTaskJob(String jobName, SystemTask task)
Method Detail |
---|
public final String getName()
JobDescription
getName
in interface JobDescription
public final void setName(String jobName)
JobDescription
setName
in interface JobDescription
jobName
- The job's new namepublic final String getGroup()
JobDescription
getGroup
in interface JobDescription
public final void execute(JobExecutionContext jec) throws JobExecutionException
execute
in interface Job
JobExecutionException
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |