public interface InputMessageProcessor extends DocumentWorkerObject
| Modifier and Type | Method and Description |
|---|---|
boolean |
getDocumentTasksAccepted()
Returns whether input messages in the composite document message format are accepted.
|
boolean |
getFieldEnrichmentTasksAccepted()
Returns whether input messages in the fields enrichment task message format are accepted.
|
boolean |
getProcessSubdocumentsSeparately()
Returns whether the worker's
processDocument() method is called for each document
in a hierarchy of documents, or whether it is only called for the root document of the document hierarchy. |
void |
setDocumentTasksAccepted(boolean accepted)
Sets whether input messages in the composite document message format are accepted.
|
void |
setFieldEnrichmentTasksAccepted(boolean accepted)
Sets whether input messages in the fields enrichment task message format are accepted.
|
void |
setProcessSubdocumentsSeparately(boolean processSubdocumentsSeparately)
Sets whether the
processDocument() method should be called for each subdocument in
a document hierarchy in addition to being called for the root document of the hierarchy. |
getApplicationboolean getDocumentTasksAccepted()
boolean getFieldEnrichmentTasksAccepted()
boolean getProcessSubdocumentsSeparately()
processDocument() method is called for each document
in a hierarchy of documents, or whether it is only called for the root document of the document hierarchy.
If the worker implements the BulkDocumentWorker interface then this method returns whether each document in a hierarchy of
documents is included in the batch of documents separately, or whether the batch of documents only includes root documents.
DocumentWorker.processDocument(Document),
BulkDocumentWorker.processDocuments(Documents)void setDocumentTasksAccepted(boolean accepted)
accepted - true to accept composite document format messages, or false to reject themvoid setFieldEnrichmentTasksAccepted(boolean accepted)
accepted - true to accept fields enrichment task messages, or false to reject themvoid setProcessSubdocumentsSeparately(boolean processSubdocumentsSeparately)
processDocument() method should be called for each subdocument in
a document hierarchy in addition to being called for the root document of the hierarchy.
If the worker implements the BulkDocumentWorker interface then this setting controls whether each subdocument is added
separately to the batch of documents passed for processing.
processSubdocumentsSeparately - true to have each subdocument processed separatelyDocumentWorker.processDocument(Document),
BulkDocumentWorker.processDocuments(Documents)Copyright © 2016–2022 EntIT Software LLC, a Micro Focus company. All rights reserved.