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.-
Field Summary
Fields -
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 AbstractEventWrapper
getClassFromContext, getEvent, getEventTypeMethods inherited from class AbstractProductProcessITextEvent
getConfirmationType, getSequenceIdMethods inherited from class AbstractContextBasedITextEvent
setMetaInfoMethods inherited from class AbstractProductITextEvent
getProductData, getProductName
-
Field Details
-
productUsageType
-
producerLine
-
-
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 wrapproductUsageType- is a product usage markerproducerLine- 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
-