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
ConstructorDescriptionConfirmedEventWrapper
(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 theITextProductEventProcessor
which 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, getEventType
Methods inherited from class com.itextpdf.commons.actions.AbstractProductProcessITextEvent
getConfirmationType, getSequenceId
Methods inherited from class com.itextpdf.commons.actions.AbstractContextBasedITextEvent
setMetaInfo
Methods 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 aAbstractProductProcessITextEvent
to wrap -
productUsageType
- is a product usage marker -
producerLine
- is a producer line defined by theITextProductEventProcessor
which 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 theITextProductEventProcessor
which registered the event.- Returns:
- producer line
-