|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--planetj.dataengine.autorun.AutoRunManager
Manages operations which need to be run automatically. This class maintains a collection of timers which are used for scheduling auto-run operations.
Field Summary | |
static int |
AUTO_RUN_DEVELOPMENT_ENABLED
|
static int |
AUTO_RUN_DISABLED
|
static int |
AUTO_RUN_EMAIL_ENABLED
Deprecated. |
static int |
AUTO_RUN_ENABLED
|
static int |
AUTO_RUN_PRODUCTION_ENABLED
|
Method Summary | |
void |
cancelAllTasks(AutoRunOperation pOperation,
boolean pPermanently)
Cancels all of the operation's tasks. |
void |
cancelTask(AutoRunOperation pOperation,
Operation pTargetOperation,
boolean pPermanently)
Cancels the task associated with the specified operations. |
void |
cancelTask(int pAutoRunId,
int pTargetOperationId,
boolean pPermanently)
Cancels the task associated with the specified operations. |
void |
cancelTask(int pAutoRunId,
Operation pTargetOperation,
boolean pPermanently)
Cancels the task associated with the specified operations. |
void |
initialize(String metadataAlias)
Schedules all operation which are automatically run |
void |
rescheduleAllTasks(AutoRunOperation pOperation)
Cancels all of the operation's tasks and then reschedules them. |
void |
rescheduleTask(AutoRunOperation pOperation,
Operation pTargetOperation)
Cancels the task associated with the specified operations, and the reschedules it. |
void |
schedule(AutoRunTask pTask)
Schedules a task. |
void |
schedule(Operation o)
Schedules an operation to be run automatically. |
static AutoRunManager |
singleton()
Gets the singleton instance of AutoRunManager |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int AUTO_RUN_DISABLED
public static final int AUTO_RUN_ENABLED
public static final int AUTO_RUN_PRODUCTION_ENABLED
public static final int AUTO_RUN_DEVELOPMENT_ENABLED
public static final int AUTO_RUN_EMAIL_ENABLED
Method Detail |
public void cancelAllTasks(AutoRunOperation pOperation, boolean pPermanently) throws CMException
pOperation
- The autorun operation whose tasks will be canceledpPermanently
- If the link between the autorun operation and all of its target operations
should be severed
CMException
public void cancelTask(int pAutoRunId, int pTargetOperationId, boolean pPermanently) throws CMException
pAutoRunId
- The id of the autorun operation whose task will be canceledpPermanently
- If the link between the autorun operation the target operation
should be severed
CMException
public void cancelTask(int pAutoRunId, Operation pTargetOperation, boolean pPermanently) throws CMException
pAutoRunId
- The id of the autorun operation whose task will be canceledpTargetOperation
- The target operation whose task will be canceledpPermanently
- If the link between the autorun operation the target operation
should be severed
CMException
public void cancelTask(AutoRunOperation pOperation, Operation pTargetOperation, boolean pPermanently) throws CMException
pOperation
- The autorun operation whose task will be canceledpTargetOperation
- The target operation whose task will be canceledpPermanently
- If the link between the autorun operation the target operation
should be severed
CMException
public void initialize(String metadataAlias) throws CMException
CMException
public void rescheduleAllTasks(AutoRunOperation pOperation) throws CMException
CMException
public void rescheduleTask(AutoRunOperation pOperation, Operation pTargetOperation) throws CMException
CMException
public void schedule(AutoRunTask pTask) throws CMException
CMException
public void schedule(Operation o) throws CMException
CMException
public static AutoRunManager singleton()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |