Class TimerEventTrigger
java.lang.Object
com.appiancorp.suiteapi.process.events.Event
com.appiancorp.suiteapi.process.events.EventTrigger
com.appiancorp.suiteapi.process.events.TimerEventTrigger
- All Implemented Interfaces:
JSONable
,JSONCacheable
,Serializable
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:
-
Field Summary
Fields inherited from class com.appiancorp.suiteapi.process.events.Event
ERROR_EVENT_TRIGGER, MESSAGE_EVENT_PRODUCER, MESSAGE_EVENT_TRIGGER, RULE_EVENT_TRIGGER, SORT_BY_DESC, SORT_BY_ID, SORT_BY_NAME, TERMINATE_EVENT_PRODUCER, TIMER_EVENT_TRIGGER
Fields inherited from interface com.appiancorp.suiteapi.common.JSONable
hiddenAttributes$TRANSIENT
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the recurrence that the timer fires on.Gets the schedule when the timer will fire.void
setRecurrence
(Recurrence recurrence_) Sets the recurrence that the timer fires on.void
setSchedule
(Schedule schedule_) Sets the schedule when the timer will fire.Methods inherited from class com.appiancorp.suiteapi.process.events.EventTrigger
createEventTrigger, getOutputs, getRules, setOutputs, setRules
Methods inherited from class com.appiancorp.suiteapi.process.events.Event
getDesc, getHiddenAttributes, getId, getName, getPersistentId, getType, isProducerType, isTriggerType, setDesc, setId, setName, setPersistentId, setType, toString
-
Constructor Details
-
TimerEventTrigger
public TimerEventTrigger()Constructs a new TimerEventTrigger.
-
-
Method Details
-
getRecurrence
Gets the recurrence that the timer fires on.- Returns:
- the recurrence
- See Also:
-
setRecurrence
Sets the recurrence that the timer fires on.- Parameters:
recurrence_
- the recurrence- See Also:
-
getSchedule
Gets the schedule when the timer will fire.- Returns:
- the schedule
- See Also:
-
setSchedule
Sets the schedule when the timer will fire.- Parameters:
schedule_
- the schedule- See Also:
-