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.
-
Constructor Summary
ModifierConstructorDescriptionprotected
AbstractProductProcessITextEvent
(ProductData productData, IMetaInfo metaInfo, EventConfirmationType confirmationType) Creates an event which is not associated with any object.protected
AbstractProductProcessITextEvent
(SequenceId sequenceId, ProductData productData, IMetaInfo metaInfo, EventConfirmationType confirmationType) Creates an event associated withSequenceId
. -
Method Summary
Modifier and TypeMethodDescriptionRetrieves anevent confirmation type
.abstract String
Returns an event type.Retrieves an identifier of event source.Methods inherited from class com.itextpdf.commons.actions.AbstractContextBasedITextEvent
getClassFromContext, setMetaInfo
Methods inherited from class com.itextpdf.commons.actions.AbstractProductITextEvent
getProductData, getProductName
-
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 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
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
-