Class EventProducer
java.lang.Object
com.appiancorp.suiteapi.process.events.Event
com.appiancorp.suiteapi.process.events.EventProducer
- All Implemented Interfaces:
JSONable,JSONCacheable,Serializable
- Direct Known Subclasses:
MessageEventProducer,TerminateEventProducer
Represents an event producer (an event that performs an action immediately when
it is reached in flow). Event producers include
MessageEventProducer
and TerminateEventProducer. They can
occur in a Process Model as intermediate nodes (except terminate) or end nodes
(including terminate).- 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_TRIGGERFields inherited from interface com.appiancorp.suiteapi.common.JSONable
hiddenAttributes$TRANSIENT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic final EventProducercreateEventProducer(Long type_) Creates a newEventProducerobject of the type corresponding with the type code passed in.static final ClasseventProducerClass(Long type_) 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
-
EventProducer
public EventProducer()
-
-
Method Details
-
createEventProducer
Creates a newEventProducerobject of the type corresponding with the type code passed in. Type codes can be found in theEventclass. Possible types includeEvent.MESSAGE_EVENT_PRODUCERandEvent.TERMINATE_EVENT_PRODUCER.- Parameters:
type_- the type code- Returns:
- the
EventProducerobject
-
eventProducerClass
-