|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.silverpeas.scheduler.JobExecutionContext
public class JobExecutionContext
The context of a job execution. A such object embeds information about the execution context of a job such as some execution parameters or the trigger from which the execution was fired.
Method Summary | |
---|---|
static JobExecutionContext |
createWith(String jobName,
Date fireTime)
Creates a new context for the execution of the specified job and fired at the specified time. |
Date |
getFireTime()
Gets the actual time at which the trigger fired. |
String |
getJobName()
Gets the name of the job that takes part in the job execution . |
JobExecutionContext |
jobFiredAt(Date date)
Sets the actual time at which the trigger fired. |
JobExecutionContext |
jobNamed(String theJobName)
Sets the name of the job that takes part in the job execution. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static JobExecutionContext createWith(String jobName, Date fireTime)
jobName
- the name of the job that is being executed.fireTime
- the time at which the job has been starting.
public Date getFireTime()
public JobExecutionContext jobFiredAt(Date date)
date
- the triggering time.
public String getJobName()
public JobExecutionContext jobNamed(String theJobName)
theJobName
- the name of the executed job.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |