Class ConfirmedEventWrapper
java.lang.Object
com.itextpdf.commons.actions.AbstractITextEvent
com.itextpdf.commons.actions.AbstractProductITextEvent
com.itextpdf.commons.actions.AbstractContextBasedITextEvent
com.itextpdf.commons.actions.AbstractProductProcessITextEvent
com.itextpdf.commons.actions.AbstractEventWrapper
com.itextpdf.commons.actions.confirmations.ConfirmedEventWrapper
- All Implemented Interfaces:
-
IEvent
A wrapper for a
AbstractProductProcessITextEvent storing additional data about the event. If wrapped event is immutable then the instance of the wrapper is immutable too.
-
Constructor Summary
ConstructorsConstructorDescriptionConfirmedEventWrapper(AbstractProductProcessITextEvent event, String productUsageType, String producerLine) Creates a wrapper for the event with additional data about the event. -
Method Summary
Modifier and TypeMethodDescriptionGets producer line defined by theITextProductEventProcessorwhich registered the event.Obtains the license type for the product which generated the event.Methods inherited from class com.itextpdf.commons.actions.AbstractEventWrapper
getClassFromContext, getEvent, getEventTypeMethods inherited from class com.itextpdf.commons.actions.AbstractProductProcessITextEvent
getConfirmationType, getSequenceIdMethods inherited from class com.itextpdf.commons.actions.AbstractContextBasedITextEvent
setMetaInfoMethods inherited from class com.itextpdf.commons.actions.AbstractProductITextEvent
getProductData, getProductName
-
Constructor Details
-
ConfirmedEventWrapper
public ConfirmedEventWrapper(AbstractProductProcessITextEvent event, String productUsageType, String producerLine) Creates a wrapper for the event with additional data about the event.- Parameters:
-
event- is aAbstractProductProcessITextEventto wrap -
productUsageType- is a product usage marker -
producerLine- is a producer line defined by theITextProductEventProcessorwhich registered the event
-
-
Method Details
-
getProductUsageType
Obtains the license type for the product which generated the event.- Returns:
- product usage type
-
getProducerLine
Gets producer line defined by theITextProductEventProcessorwhich registered the event.- Returns:
- producer line
-