Class AbstractProductProcessITextEvent

    • Constructor Detail

      • AbstractProductProcessITextEvent

        protected AbstractProductProcessITextEvent​(SequenceId sequenceId,
                                                   ProductData productData,
                                                   IMetaInfo metaInfo,
                                                   EventConfirmationType confirmationType)
        Creates an event associated with SequenceId. It may contain auxiliary meta data.
        Parameters:
        sequenceId - is a general identifier for the event
        productData - is a description of the product which has generated an event
        metaInfo - is an auxiliary meta info
        confirmationType - defines when the event should be confirmed to notify that the associated process has finished successfully
      • AbstractProductProcessITextEvent

        protected AbstractProductProcessITextEvent​(ProductData productData,
                                                   IMetaInfo metaInfo,
                                                   EventConfirmationType confirmationType)
        Creates an event which is not associated with any object. It may contain auxiliary meta data.
        Parameters:
        productData - is a description of the product which has generated an event
        metaInfo - is an auxiliary meta info
        confirmationType - defines when the event should be confirmed to notify that the associated process has finished successfully
    • Method Detail

      • getSequenceId

        public SequenceId getSequenceId()
        Retrieves an identifier of event source.
        Returns:
        an identifier of event source
      • getEventType

        public abstract java.lang.String getEventType()
        Returns an event type.
        Returns:
        event type
      • getConfirmationType

        public EventConfirmationType getConfirmationType()
        Returns:
        value of event confirmation type which defines when the event should be confirmed to notify that the associated process has finished successfully