com.silverpeas.scheduler.simple
Class SchedulerEventJob

java.lang.Object
  extended by com.silverpeas.scheduler.simple.SchedulerJob
      extended by 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.


Field Summary
 
Fields inherited from class com.silverpeas.scheduler.simple.SchedulerJob
logDateFormat
 
Constructor Summary
protected SchedulerEventJob(SimpleScheduler theJobController, SchedulerEventListener theJobOwner, String theJobName)
          Deprecated. The constructor has proteceted access, because the generation of jobs should be done in a central way by the class 'SimpleScheduler'
 
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
 

Constructor Detail

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 executions
aOwner - The owner of the job
aJobName - The name of the job
Throws:
SchedulerException
Method Detail

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.