public abstract class EventTrigger extends Event
MessageEventTrigger
,
TimerEventTrigger
, and
RuleEventTrigger
. An event
trigger can occur on a start node (in which case it kicks off a new instance
of the process), an intermediate node (in which case it stops flow until
the condition is met), or attached to an activity as an exception trigger
(in which case it is active while the activity is active, and it causes the
exception flow to be taken if/when the condition is met).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
hiddenAttributes$TRANSIENT
Constructor and Description |
---|
EventTrigger() |
Modifier and Type | Method and Description |
---|---|
static EventTrigger |
createEventTrigger(java.lang.Long type_)
Creates a new
EventTrigger object of the type coresponding
with the type code passed in. |
java.lang.String[] |
getOutputs()
Gets the output expressions for the event.
|
Rule[] |
getRules()
Gets the firing rules for the event.
|
void |
setOutputs(java.lang.String[] outputs_)
Sets the output expressions for the event.
|
void |
setRules(Rule[] rules_)
Sets the firing rules for the event.
|
getDesc, getHiddenAttributes, getId, getName, getPersistentId, getType, isProducerType, isTriggerType, setDesc, setId, setName, setPersistentId, setType, toString
public static final EventTrigger createEventTrigger(java.lang.Long type_)
EventTrigger
object of the type coresponding
with the type code passed in. Type codes can be found in the Event
class.
Possible types include Event.MESSAGE_EVENT_TRIGGER
,
Event.TIMER_EVENT_TRIGGER
, and
Event.RULE_EVENT_TRIGGER
.type_
- the type code for the message type to createEventTrigger
objectpublic java.lang.String[] getOutputs()
setOutputs(String[])
public void setOutputs(java.lang.String[] outputs_)
outputs_
- array of output expressions to setgetOutputs()
public Rule[] getRules()
setRules(Rule[])
,
Rule
public void setRules(Rule[] rules_)
rules_
- array of firing rules to setgetRules()
,
Rule
Copyright © 2003-2024 Appian Corporation. All Rights Reserved.