Class AbstractContextBasedITextEvent

All Implemented Interfaces:
IEvent
Direct Known Subclasses:
AbstractProductProcessITextEvent

public abstract class AbstractContextBasedITextEvent extends AbstractProductITextEvent
Represents a context-based event. See also AbstractContextBasedEventHandler. Only for internal usage.
  • Constructor Details

    • AbstractContextBasedITextEvent

      protected AbstractContextBasedITextEvent (ProductData productData, IMetaInfo metaInfo)
      Creates an event containing auxiliary meta data.
      Parameters:
      productData - is a description of the product which has generated an event
      metaInfo - is an auxiliary meta info
  • Method Details

    • getClassFromContext

      public Class getClassFromContext()
      Obtains the current event context class.
      Returns:
      context class
    • setMetaInfo

      public boolean setMetaInfo (IMetaInfo metaInfo)
      Sets meta info.
      Parameters:
      metaInfo - meta info
      Returns:
      true if meta info has been set, false otherwise