Class ExternalEventContext

  • All Implemented Interfaces:
    java.io.Externalizable , java.io.Serializable , java.lang.Comparable , org.apache.avro.generic.GenericContainer , org.apache.avro.generic.GenericRecord , org.apache.avro.generic.IndexedRecord , org.apache.avro.specific.SpecificRecord

    
    public class ExternalEventContext
    extends SpecificRecordBase implements SpecificRecord
                        

    The context of an external event. To be included in the payloads sent as part of the external event structure. Used to extract request information on the responding side.

    • Constructor Detail

      • ExternalEventContext

        ExternalEventContext()
        Default constructor.
      • ExternalEventContext

        ExternalEventContext(String requestId, String flowId, KeyValuePairList contextProperties)
        All-args constructor.
        Parameters:
        requestId - The request id of the external event.
        flowId - The flow id of flow to respond to.
        contextProperties - The context properties of the issuing flow which the external processor can use as it wishes, for example to allow or disallow certain actions.