Interface ISchedulable

All Superinterfaces:
IBaseEntity, ICoreEntity, Serializable
All Known Implementing Classes:
ImportProfile, ProfileBase, PublicationProfile, Reporting, WorkflowType

public interface ISchedulable extends IBaseEntity
common interface for objects periodically executed by the workflow engine
  • 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

      default String getScheduleExpression()
      Returns:
      schedule expression in cron syntax