Class ITextCoreProductEvent
- 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.kernel.actions.events.ITextCoreProductEvent
-
- All Implemented Interfaces:
IEvent
public final class ITextCoreProductEvent extends AbstractProductProcessITextEvent
Class represents events registered in iText core module.
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.String
eventType
static java.lang.String
PROCESS_PDF
Process pdf event type.
-
Constructor Summary
Constructors Modifier Constructor Description private
ITextCoreProductEvent(SequenceId sequenceId, IMetaInfo metaInfo, java.lang.String eventType, EventConfirmationType confirmationType)
Creates an event associated with a general identifier and additional meta data.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ITextCoreProductEvent
createProcessPdfEvent(SequenceId sequenceId, IMetaInfo metaInfo, EventConfirmationType confirmationType)
Creates an process pdf event which associated with a general identifier and additional meta data.java.lang.String
getEventType()
Returns an event type.-
Methods inherited from class com.itextpdf.commons.actions.AbstractProductProcessITextEvent
getConfirmationType, getSequenceId
-
Methods inherited from class com.itextpdf.commons.actions.AbstractContextBasedITextEvent
getClassFromContext, setMetaInfo
-
Methods inherited from class com.itextpdf.commons.actions.AbstractProductITextEvent
getProductData, getProductName
-
-
-
-
Field Detail
-
PROCESS_PDF
public static final java.lang.String PROCESS_PDF
Process pdf event type.- See Also:
- Constant Field Values
-
eventType
private final java.lang.String eventType
-
-
Constructor Detail
-
ITextCoreProductEvent
private ITextCoreProductEvent(SequenceId sequenceId, IMetaInfo metaInfo, java.lang.String eventType, EventConfirmationType confirmationType)
Creates an event associated with a general identifier and additional meta data.- Parameters:
sequenceId
- is an identifier associated with the eventmetaInfo
- is an additional meta infoeventType
- is a string description of the eventconfirmationType
- defines when the event should be confirmed to notify that the associated process has finished successfully
-
-
Method Detail
-
createProcessPdfEvent
public static ITextCoreProductEvent createProcessPdfEvent(SequenceId sequenceId, IMetaInfo metaInfo, EventConfirmationType confirmationType)
Creates an process pdf event which associated with a general identifier and additional meta data.- Parameters:
sequenceId
- is an identifier associated with the eventmetaInfo
- is an additional meta infoconfirmationType
- defines when the event should be confirmed to notify that the associated process has finished successfully- Returns:
- the process pdf event
-
getEventType
public java.lang.String getEventType()
Description copied from class:AbstractProductProcessITextEvent
Returns an event type.- Specified by:
getEventType
in classAbstractProductProcessITextEvent
- Returns:
- event type
-
-