planetj.dataengine.autorun
Class BatchProcessTask

java.lang.Object
  |
  +--java.util.TimerTask
        |
        +--planetj.util.CMTimerTask
              |
              +--planetj.dataengine.task.DataEngineTimerTask
                    |
                    +--planetj.dataengine.autorun.AutoRunTask
                          |
                          +--planetj.dataengine.autorun.BatchProcessTask
All Implemented Interfaces:
Runnable

public class BatchProcessTask
extends AutoRunTask

A Task used for processing the results of an operation periodically.

Author:
PlanetJ Corporation

Method Summary
 void autoRun()
          Process the results of the target Operation.
 long getFrequency()
          Gets the frequency (in seconds) at which the task should run
 Date getStartTime()
          Gets the exact day and time when this task should begin executing
 
Methods inherited from class planetj.dataengine.autorun.AutoRunTask
clone, cloneTask, getAutoRunOperation, getAutoRunOperationId, getMetadataAlias, getTargetOperation, getTargetOperationId, performTask, setAutoRunOperationId
 
Methods inherited from class planetj.dataengine.task.DataEngineTimerTask
postTask, preTask
 
Methods inherited from class planetj.util.CMTimerTask
addListener, getNewTaskEvent, getTaskEvent, removeListener, run
 
Methods inherited from class java.util.TimerTask
cancel, scheduledExecutionTime
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

autoRun

public void autoRun()
             throws CMException
Process the results of the target Operation.

Specified by:
autoRun in class AutoRunTask
CMException

getFrequency

public long getFrequency()
                  throws CMException
Gets the frequency (in seconds) at which the task should run

Specified by:
getFrequency in class AutoRunTask
CMException

getStartTime

public Date getStartTime()
                  throws CMException
Gets the exact day and time when this task should begin executing

Specified by:
getStartTime in class AutoRunTask
CMException