public enum EventType extends Enum<EventType>
IFilter or
IFilterWriter.| Enum Constant and Description |
|---|
CANCELED
Indicates that the user has canceled the process.
|
CUSTOM
A custom event type used when steps need to exchange non-resource based
information.
|
DOCUMENT_PART
Indicates a document part.
|
END_BATCH
Used to notify pipeline steps that the current batch operation is finished.
|
END_BATCH_ITEM
Used to notify the pipeline steps that athe current batch item is done.
|
END_DOCUMENT
Indicates the end of an input document.
|
END_GROUP
Indicates the end of a group.
|
END_SUBDOCUMENT
Indicates the end of a sub-document.
|
END_SUBFILTER |
MULTI_EVENT
An Event which holds multiple related Events, possibly of different types.
|
NO_OP
No operation event that is ignored by all steps.
|
PIPELINE_PARAMETERS
A special event which holds updated runtime parameters for the pipeline.
|
RAW_DOCUMENT
Document-level event.
|
START_BATCH
Used to notify pipeline steps that the current batch operation is starting.
|
START_BATCH_ITEM
Used to notify pipeline steps that a new batch item is about to come.
|
START_DOCUMENT
Indicates the start of an input document.
|
START_GROUP
Indicates the start of a group.
|
START_SUBDOCUMENT
Indicates the start of a sub-document.
|
START_SUBFILTER |
TEXT_UNIT
Indicates a text unit.
|
| Modifier and Type | Method and Description |
|---|---|
static EventType |
fromString(String value) |
String |
toString() |
static EventType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EventType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EventType START_DOCUMENT
StartDocument
resource should be associated with this event.public static final EventType END_DOCUMENT
Ending
resource should be associated with this event.public static final EventType START_SUBDOCUMENT
StartSubDocument
resource should be associated with this event.public static final EventType END_SUBDOCUMENT
Ending
resource should be associated with this event.public static final EventType START_GROUP
StartGroup resource
should be associated with this event.public static final EventType END_GROUP
Ending resource
should be associated with this event.public static final EventType TEXT_UNIT
TextUnit resource should be associated
with this event.public static final EventType DOCUMENT_PART
DocumentPart resource should be associated
with this event.public static final EventType CANCELED
public static final EventType START_BATCH
public static final EventType END_BATCH
public static final EventType START_BATCH_ITEM
public static final EventType END_BATCH_ITEM
public static final EventType RAW_DOCUMENT
RawDocument resource
should be associated with this event.public static final EventType MULTI_EVENT
public static final EventType PIPELINE_PARAMETERS
public static final EventType CUSTOM
public static final EventType NO_OP
public static final EventType START_SUBFILTER
public static final EventType END_SUBFILTER
public static EventType[] values()
for (EventType c : EventType.values()) System.out.println(c);
public static EventType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2022. All rights reserved.