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
Abstract class which defines product process event. Only for internal usage.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final EventConfirmationTypeprivate final WeakReference<SequenceId> -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractProductProcessITextEvent(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
Modifier and TypeMethodDescriptionRetrieves anevent confirmation type.abstract StringReturns an event type.Retrieves an identifier of event source.Methods inherited from class com.itextpdf.commons.actions.AbstractContextBasedITextEvent
getClassFromContext, getMetaInfo, setMetaInfoMethods inherited from class com.itextpdf.commons.actions.AbstractProductITextEvent
getProductData, getProductNameMethods inherited from class com.itextpdf.commons.actions.AbstractITextEvent
registerNamespace
-
Field Details
-
sequenceId
-
confirmationType
-
-
Constructor Details
-
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 Details
-
getSequenceId
Retrieves an identifier of event source.- Returns:
- an identifier of event source
-
getEventType
Returns an event type.- Returns:
- event type
-
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
-