Class AbstractProductProcessITextEvent

All Implemented Interfaces:
IEvent
Direct Known Subclasses:
AbstractEventWrapper, ITextCoreProductEvent

public abstract class AbstractProductProcessITextEvent extends AbstractContextBasedITextEvent
Abstract class which defines product process event. Only for internal usage.
  • Constructor Details

    • 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 Details

    • getSequenceId

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

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

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