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

public abstract class EventProducer extends Event
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:
  • Constructor Details

    • EventProducer

      public EventProducer()
  • Method Details

    • createEventProducer

      public static final EventProducer createEventProducer(Long type_)
      Creates a new EventProducer object of the type corresponding with the type code passed in. Type codes can be found in the Event class. Possible types include Event.MESSAGE_EVENT_PRODUCER and Event.TERMINATE_EVENT_PRODUCER.
      Parameters:
      type_ - the type code
      Returns:
      the EventProducer object
    • eventProducerClass

      public static final Class eventProducerClass(Long type_)