|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.silverpeas.scheduler.Job
public abstract class Job
A job to schedule at a given moments in time. A job is identified in the scheduler by a name that must be unique.
| Constructor Summary | |
|---|---|
Job(String name)
Creates a new job with the specified name. |
|
| Method Summary | |
|---|---|
abstract void |
execute(JobExecutionContext context)
Executes the job with the specified execution context. |
String |
getName()
Gets the name under which this job should be scheduled. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Job(String name)
name - the name under which the job has to be registered in the scheduler.| Method Detail |
|---|
public String getName()
public abstract void execute(JobExecutionContext context)
throws Exception
context - the context under which this job is executed.
Exception - if an error occurs during the job execution.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||