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_TRIGGER
Fields inherited from interface com.appiancorp.suiteapi.common.JSONable
hiddenAttributes$TRANSIENT
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic final EventProducer
createEventProducer
(Long type_) Creates a newEventProducer
object of the type corresponding with the type code passed in.static final Class
eventProducerClass
(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 newEventProducer
object of the type corresponding with the type code passed in. Type codes can be found in theEvent
class. Possible types includeEvent.MESSAGE_EVENT_PRODUCER
andEvent.TERMINATE_EVENT_PRODUCER
.- Parameters:
type_
- the type code- Returns:
- the
EventProducer
object
-
eventProducerClass
-