Interface DataEvent<T>

Type Parameters:
T - type of the body of the event
All Superinterfaces:
io.cloudevents.CloudEventAttributes, io.cloudevents.CloudEventContext, io.cloudevents.CloudEventExtensions

public interface DataEvent<T> extends io.cloudevents.CloudEventContext
Represents top level data event structure that can be emitted from within running process, decision or rule.

It's main aim is to be transferred over the wire but the event itself is not meant to do transformation to be "wire-friendly"

Main point of the event is to be compatible with cloud events specification and thus comes with main fields that the spec defines.

Classes implementing can provide more information to be considered extensions of the event - see cloud event extension elements.

  • Method Details

    • getData

      T getData()
      Returns actual body of the event
      Returns:
    • getKogitoProcessInstanceId

      String getKogitoProcessInstanceId()
    • getKogitoRootProcessInstanceId

      String getKogitoRootProcessInstanceId()
    • getKogitoProcessId

      String getKogitoProcessId()
    • getKogitoRootProcessId

      String getKogitoRootProcessId()
    • getKogitoAddons

      String getKogitoAddons()
    • getKogitoParentProcessInstanceId

      String getKogitoParentProcessInstanceId()
    • getKogitoProcessInstanceState

      String getKogitoProcessInstanceState()
    • getKogitoReferenceId

      String getKogitoReferenceId()
    • getKogitoBusinessKey

      String getKogitoBusinessKey()
    • getKogitoStartFromNode

      String getKogitoStartFromNode()
    • getKogitoProcessInstanceVersion

      String getKogitoProcessInstanceVersion()
    • getKogitoProcessType

      String getKogitoProcessType()
    • getKogitoIdentity

      String getKogitoIdentity()
    • asCloudEvent

      io.cloudevents.CloudEvent asCloudEvent(Function<T,io.cloudevents.CloudEventData> converter)