Class MetaCron

    • Field Detail

      • m_Schedule

        protected CronSchedule m_Schedule
        the cron schedule.
      • m_Scheduler

        protected org.quartz.Scheduler m_Scheduler
        the scheduler.
      • m_Flow

        protected transient Flow m_Flow
        the flow this trigger is for.
    • Constructor Detail

      • MetaCron

        public MetaCron()
    • Method Detail

      • setSchedule

        public void setSchedule​(CronSchedule value)
        Sets the execution schedule.
        Parameters:
        value - the schedule
      • getSchedule

        public CronSchedule getSchedule()
        Returns the execution schedule.
        Returns:
        the schedule
      • scheduleTipText

        public String scheduleTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • setTrigger

        public void setTrigger​(AbstractTrigger value)
        Sets the base trigger.
        Parameters:
        value - the trigger
      • getTrigger

        public AbstractTrigger getTrigger()
        Returns the base trigger.
        Returns:
        the trigger
      • triggerTipText

        public String triggerTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • getFlow

        public Flow getFlow()
        Returns the flow this trigger is for.
        Returns:
        the flow, null if none yet set
      • doStart

        protected String doStart​(Flow flow)
        Starts the trigger.
        Specified by:
        doStart in class AbstractTrigger
        Parameters:
        flow - the flow to handle
        Returns:
        null if successfully started, otherwise error message
      • stop

        public String stop()
        Stops the trigger.
        Specified by:
        stop in class AbstractTrigger
        Returns:
        null if successfully stopped, otherwise error message