com.silverpeas.scheduler.simple
Class SchedulerMethodJobMinute

java.lang.Object
  extended by com.silverpeas.scheduler.simple.SchedulerJob
      extended by com.silverpeas.scheduler.simple.SchedulerMethodJob
          extended by com.silverpeas.scheduler.simple.SchedulerMethodJobMinute
All Implemented Interfaces:
ScheduledJob, Runnable

Deprecated.

@Deprecated
public class SchedulerMethodJobMinute
extends SchedulerMethodJob

This class extends the class 'SchedulerJob' for the functionality of a scheduled execution of a class method.


Field Summary
 
Fields inherited from class com.silverpeas.scheduler.simple.SchedulerJob
logDateFormat
 
Constructor Summary
protected SchedulerMethodJobMinute(SimpleScheduler theJobController, SchedulerEventListener theJobOwner, String theJobName, FixedPeriodJobTrigger trigger)
          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  long getNextTimeStamp()
          Deprecated. Generates a new timestamp
 
Methods inherited from class com.silverpeas.scheduler.simple.SchedulerMethodJob
execute, setExecutionParameter
 
Methods inherited from class com.silverpeas.scheduler.simple.SchedulerJob
execute, getJobName, getMillisecondsOfCalendar, getName, getNexExecutionTimeInMillis, getNextExecutionTime, 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

SchedulerMethodJobMinute

protected SchedulerMethodJobMinute(SimpleScheduler theJobController,
                                   SchedulerEventListener theJobOwner,
                                   String theJobName,
                                   FixedPeriodJobTrigger trigger)
                            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:
theJobController - The controller, that controls all job executions
theJobOwner - The owner of the job
theJobName - The name of the job
iMinutes - theperiod between each job
Throws:
SchedulerException
Method Detail

getNextTimeStamp

protected long getNextTimeStamp()
Deprecated. 
Description copied from class: SchedulerJob
Generates a new timestamp

Overrides:
getNextTimeStamp in class SchedulerJob
Returns:


Copyright © 2016 Silverpeas. All Rights Reserved.