public class InputMessageProcessorImpl extends DocumentWorkerObjectImpl implements InputMessageProcessor
application| Constructor and Description |
|---|
InputMessageProcessorImpl(ApplicationImpl application,
InputMessageConfiguration configuration) |
| Modifier and Type | Method and Description |
|---|---|
AbstractTask |
createTask(com.hpe.caf.api.worker.WorkerTaskData workerTask)
Verify that the specified worker task is supported and is a version that can be handled, and de-serialises it if it is.
|
boolean |
getDocumentTasksAccepted() |
boolean |
getFieldEnrichmentTasksAccepted() |
boolean |
getProcessSubdocumentsSeparately() |
void |
setDocumentTasksAccepted(boolean accepted) |
void |
setFieldEnrichmentTasksAccepted(boolean accepted) |
void |
setProcessSubdocumentsSeparately(boolean processSubdocumentsSeparately) |
getApplicationclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetApplicationpublic InputMessageProcessorImpl(ApplicationImpl application, InputMessageConfiguration configuration)
public boolean getDocumentTasksAccepted()
getDocumentTasksAccepted in interface InputMessageProcessorpublic boolean getFieldEnrichmentTasksAccepted()
getFieldEnrichmentTasksAccepted in interface InputMessageProcessorpublic boolean getProcessSubdocumentsSeparately()
getProcessSubdocumentsSeparately in interface InputMessageProcessorpublic void setDocumentTasksAccepted(boolean accepted)
setDocumentTasksAccepted in interface InputMessageProcessorpublic void setFieldEnrichmentTasksAccepted(boolean accepted)
setFieldEnrichmentTasksAccepted in interface InputMessageProcessorpublic void setProcessSubdocumentsSeparately(boolean processSubdocumentsSeparately)
setProcessSubdocumentsSeparately in interface InputMessageProcessor@Nonnull public AbstractTask createTask(com.hpe.caf.api.worker.WorkerTaskData workerTask) throws com.hpe.caf.api.worker.InvalidTaskException, com.hpe.caf.api.worker.TaskRejectedException
workerTask - the Worker Framework task to interpretcom.hpe.caf.api.worker.InvalidTaskException - if the task is invalid or is of a type that is not supportedcom.hpe.caf.api.worker.TaskRejectedException - if the task cannot be processed at the minute, but another worker might be able to process itCopyright © 2016–2021 EntIT Software LLC, a Micro Focus company. All rights reserved.