Package mc.core.model.system
Interface ISchedulable
- All Superinterfaces:
IBaseEntity,ICoreEntity,Serializable
- All Known Implementing Classes:
ImportProfile,ProfileBase,PublicationProfile,Reporting,WorkflowType
common interface for objects periodically executed by the workflow engine
-
Method Summary
Methods inherited from interface mc.core.model.base.IBaseEntity
getId, setId
-
Method Details
-
getPeriod
long getPeriod()- Returns:
- execution interval in seconds
-
getStartTime
Calendar getStartTime()- Returns:
- start time as calendar
-
isTimerWorkflow
boolean isTimerWorkflow()- Returns:
- true if timer flag is enabled
-
getWorkflowType
WorkflowType getWorkflowType()- Returns:
- the workflow type responsive to execute this schedulable object
-
getScheduleExpression
- Returns:
- schedule expression in cron syntax
-