Class TimerEventTrigger

All Implemented Interfaces:
JSONable, JSONCacheable, Serializable

public class TimerEventTrigger extends EventTrigger
Represents the trigger for a timer event. The timer event has an initial delay and/or a recurrence interval. Each time the timer goes off, it evaluates any rules, and if all of the rules are true, the trigger fires.
See Also:
  • Constructor Details

    • TimerEventTrigger

      public TimerEventTrigger()
      Constructs a new TimerEventTrigger.
  • Method Details

    • getRecurrence

      public Recurrence getRecurrence()
      Gets the recurrence that the timer fires on.
      Returns:
      the recurrence
      See Also:
    • setRecurrence

      public void setRecurrence(Recurrence recurrence_)
      Sets the recurrence that the timer fires on.
      Parameters:
      recurrence_ - the recurrence
      See Also:
    • getSchedule

      public Schedule getSchedule()
      Gets the schedule when the timer will fire.
      Returns:
      the schedule
      See Also:
    • setSchedule

      public void setSchedule(Schedule schedule_)
      Sets the schedule when the timer will fire.
      Parameters:
      schedule_ - the schedule
      See Also: