|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.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.
Constructor Summary | |
protected |
AutoRunTask()
AutoRunTask constructor comment. |
protected |
AutoRunTask(AutoRunOperation pSourceOperation,
Operation pTargetOperation)
AutoRunTask constructor |
Method Summary | |
abstract void |
autoRun()
The action to be performed by this task. |
java.lang.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) |
protected AutoRunPropertyGroup |
getAutoRunPropertyGroup()
Gets the property group containing the auto run properties. |
abstract long |
getFrequency()
Gets the frequency (in seconds) at which the task should run |
java.lang.String |
getMetadataAlias()
Gets the metadata alias this AutoRunTask is using |
abstract java.util.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) |
protected void |
setMetadataAlias(java.lang.String newMetadataAlias)
Sets the metadata alias this AutoRunTask is using |
protected void |
setTargetOperationId(int newTargetOperationId)
Sets the ID of this AutoRunTask's target operation (the operation which will be autorun) |
Methods inherited from class planetj.dataengine.task.DataEngineTimerTask |
postTask, preTask |
Methods inherited from class planetj.util.CMTimerTask |
addListener, getNewTaskEvent, getTaskEvent, removeListener, run, taskCompleted, taskFailed, taskStarted |
Methods inherited from class java.util.TimerTask |
cancel, scheduledExecutionTime |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
protected AutoRunTask()
protected AutoRunTask(AutoRunOperation pSourceOperation, Operation pTargetOperation)
pSourceOperation
- The AutoRunOperation from which this task was createdpTargetOperation
- The Operation which the task will runMethod Detail |
public abstract void autoRun() throws CMException
CMException
public java.lang.Object clone()
public AutoRunTask cloneTask()
public AutoRunOperation getAutoRunOperation() throws CMException
CMException
public int getAutoRunOperationId()
protected AutoRunPropertyGroup getAutoRunPropertyGroup() throws CMException
CMException
public abstract long getFrequency() throws CMException
CMException
public java.lang.String getMetadataAlias()
public abstract java.util.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)
protected void setMetadataAlias(java.lang.String newMetadataAlias)
protected void setTargetOperationId(int newTargetOperationId)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |