com.silverpeas.scheduler.simple
Class SchedulerEventJob
java.lang.Object
com.silverpeas.scheduler.simple.SchedulerJob
com.silverpeas.scheduler.simple.SchedulerEventJob
- All Implemented Interfaces:
- ScheduledJob, Runnable
- Direct Known Subclasses:
- SchedulerEventJobMinute
Deprecated.
@Deprecated
public class SchedulerEventJob
- extends SchedulerJob
This class extends the class 'SchedulerJob' for the functionality of the scheduled execution of
shell scripts.
Method Summary |
protected void |
execute(Date theExecutionDate)
Deprecated. This method implements the abstract method of the base class. |
Methods inherited from class com.silverpeas.scheduler.simple.SchedulerJob |
execute, getJobName, getMillisecondsOfCalendar, getName, getNexExecutionTimeInMillis, getNextExecutionTime, getNextTimeStamp, getOwner, getSchedulerEventListener, getTrigger, initTimeStamp, readNextTimeStamp, run, setSchedulingParameter, setSchedulingParameter, setTrigger, stop |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SchedulerEventJob
protected SchedulerEventJob(SimpleScheduler theJobController,
SchedulerEventListener theJobOwner,
String theJobName)
throws SchedulerException
- Deprecated.
- The constructor has proteceted access, because the generation of jobs should be done in a
central way by the class 'SimpleScheduler'
- Parameters:
aController
- The controller, that controls all job executionsaOwner
- The owner of the jobaJobName
- The name of the job
- Throws:
SchedulerException
execute
protected void execute(Date theExecutionDate)
throws SchedulerException
- Deprecated.
- This method implements the abstract method of the base class. It creates a new SchedulerEvent
and sends it to the job owner.
- Specified by:
execute
in class SchedulerJob
- Parameters:
theExecutionDate
- The date of the execution
- Throws:
SchedulerException
Copyright © 2016 Silverpeas. All Rights Reserved.