Package com.itextpdf.commons.actions
Class AbstractProductProcessITextEvent
- java.lang.Object
-
- com.itextpdf.commons.actions.AbstractITextEvent
-
- com.itextpdf.commons.actions.AbstractProductITextEvent
-
- com.itextpdf.commons.actions.AbstractContextBasedITextEvent
-
- com.itextpdf.commons.actions.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.
-
-
Field Summary
Fields Modifier and Type Field Description private EventConfirmationTypeconfirmationTypeprivate java.lang.ref.WeakReference<SequenceId>sequenceId
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractProductProcessITextEvent(ProductData productData, IMetaInfo metaInfo, EventConfirmationType confirmationType)Creates an event which is not associated with any object.protectedAbstractProductProcessITextEvent(SequenceId sequenceId, ProductData productData, IMetaInfo metaInfo, EventConfirmationType confirmationType)Creates an event associated withSequenceId.
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description EventConfirmationTypegetConfirmationType()Retrieves anevent confirmation type.abstract java.lang.StringgetEventType()Returns an event type.SequenceIdgetSequenceId()Retrieves an identifier of event source.-
Methods inherited from class com.itextpdf.commons.actions.AbstractContextBasedITextEvent
getClassFromContext, getMetaInfo, setMetaInfo
-
Methods inherited from class com.itextpdf.commons.actions.AbstractProductITextEvent
getProductData, getProductName
-
Methods inherited from class com.itextpdf.commons.actions.AbstractITextEvent
registerNamespace
-
-
-
-
Field Detail
-
sequenceId
private final java.lang.ref.WeakReference<SequenceId> sequenceId
-
confirmationType
private final EventConfirmationType confirmationType
-
-
Constructor Detail
-
AbstractProductProcessITextEvent
protected AbstractProductProcessITextEvent(SequenceId sequenceId, ProductData productData, IMetaInfo metaInfo, EventConfirmationType confirmationType)
Creates an event associated withSequenceId. It may contain auxiliary meta data.- Parameters:
sequenceId- is a general identifier for the eventproductData- is a description of the product which has generated an eventmetaInfo- is an auxiliary meta infoconfirmationType- 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 eventmetaInfo- is an auxiliary meta infoconfirmationType- 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()
Retrieves anevent 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
-
-