|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.util.TimerTask | +--planetj.util.CMTimerTask | +--planetj.dataengine.task.DataEngineTimerTask | +--planetj.dataengine.autorun.AutoRunTask
Describes how an Operation should be automatically run. All subclasses must provide a default constructor.
Method Summary | |
abstract void |
autoRun()
The action to be performed by this task. |
Object |
clone()
Clones this task. |
AutoRunTask |
cloneTask()
Clones this task. |
AutoRunOperation |
getAutoRunOperation()
Gets this AutoRunTask's source operation (the operation which defines this task) |
int |
getAutoRunOperationId()
Gets the ID of this AutoRunTask's source operation (the operation which defines this task) |
abstract long |
getFrequency()
Gets the frequency (in seconds) at which the task should run |
String |
getMetadataAlias()
Gets the metadata alias this AutoRunTask is using |
abstract Date |
getStartTime()
Gets the exact day and time when this task should begin executing |
Operation |
getTargetOperation()
Gets this AutoRunTask's target operation |
int |
getTargetOperationId()
Gets the ID of this AutoRunTask's target operation (the operation which will be autorun) |
void |
performTask()
The action to be performed by this task. |
void |
setAutoRunOperationId(int newAutoRunOperationId)
Sets the ID of this AutoRunTask's source operation (the operation which defines this task) |
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 |
public abstract void autoRun() throws CMException
CMException
public Object clone()
clone
in class Object
public AutoRunTask cloneTask()
public AutoRunOperation getAutoRunOperation() throws CMException
CMException
public int getAutoRunOperationId()
public abstract long getFrequency() throws CMException
CMException
public String getMetadataAlias()
public abstract Date getStartTime() throws CMException
CMException
public Operation getTargetOperation() throws CMException
CMException
public int getTargetOperationId()
public final void performTask()
performTask
in class CMTimerTask
public void setAutoRunOperationId(int newAutoRunOperationId)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |