- get(String) - Method in interface com.hpe.caf.worker.document.model.Fields
-
Gets a field object for the specified field.
- get(String) - Method in interface com.hpe.caf.worker.document.model.ResponseCustomData
-
Used to retrieve any custom data that has been set on the response.
- get(int) - Method in interface com.hpe.caf.worker.document.model.Scripts
-
Retrieves the script at the specified position in this list.
- get(int) - Method in interface com.hpe.caf.worker.document.model.Subdocuments
-
Retrieves the subdocument at the specified position.
- getApplication() - Method in interface com.hpe.caf.worker.document.model.DocumentWorkerObject
-
Returns the Application object, which represents the Document Worker itself.
- getBatchSizeController() - Method in interface com.hpe.caf.worker.document.model.Application
-
Returns the batch size controller.
- getCustomData(String) - Method in interface com.hpe.caf.worker.document.model.Document
-
Used to retrieve any custom data that was sent with the document, but which is not technically part of it.
- getCustomData() - Method in interface com.hpe.caf.worker.document.model.Response
-
Returns an object which can be used to manipulate the custom data that will be sent as a part of the response.
- getCustomData(String) - Method in interface com.hpe.caf.worker.document.model.Task
-
Used to retrieve any custom data that was sent with the task.
- getDocument() - Method in interface com.hpe.caf.worker.document.model.Failure
-
Returns the document that this failure is associated with.
- getDocument() - Method in interface com.hpe.caf.worker.document.model.Failures
-
Returns the document that this collection of failures is associated with.
- getDocument() - Method in interface com.hpe.caf.worker.document.model.Field
-
Returns the document that this field is associated with.
- getDocument() - Method in interface com.hpe.caf.worker.document.model.Fields
-
Returns the document that this collection of fields is associated with.
- getDocument() - Method in interface com.hpe.caf.worker.document.model.Subdocuments
-
Returns the document that this collection of subdocuments is associated with.
- getDocument() - Method in interface com.hpe.caf.worker.document.model.Task
-
Returns the document to be processed by this task.
- getDocumentTasksAccepted() - Method in interface com.hpe.caf.worker.document.model.InputMessageProcessor
-
Returns whether input messages in the composite document message format are accepted.
- getFailureId() - Method in interface com.hpe.caf.worker.document.model.Failure
-
Returns the non-localisable identifier related to the failure.
- getFailureMessage() - Method in interface com.hpe.caf.worker.document.model.Failure
-
Returns a human readable message relating to the failure.
- getFailureQueue() - Method in interface com.hpe.caf.worker.document.model.Response
-
Returns the queue that the response will be published to if any failures are newly added to the document or to any of its
subdocuments.
- getFailures() - Method in interface com.hpe.caf.worker.document.model.Document
-
Gets the collection of failures that are currently associated with the document.
- getFailureStack() - Method in interface com.hpe.caf.worker.document.model.Failure
-
Returns the stack trace relating to the failure, or null if it was not recorded.
- getField(String) - Method in interface com.hpe.caf.worker.document.model.Document
-
Gets a field object for the specified field.
- getField() - Method in interface com.hpe.caf.worker.document.model.FieldValue
-
Returns the field that this field value is associated with.
- getField() - Method in interface com.hpe.caf.worker.document.model.FieldValues
-
Returns the field that this collection of field values is associated with.
- getFieldEnrichmentTasksAccepted() - Method in interface com.hpe.caf.worker.document.model.InputMessageProcessor
-
Returns whether input messages in the fields enrichment task message format are accepted.
- getFields() - Method in interface com.hpe.caf.worker.document.model.Document
-
Gets the list of fields currently associated with the document.
- getIndex() - Method in interface com.hpe.caf.worker.document.model.Script
-
Returns the current position of this customization script in the parent list.
- getInputMessageProcessor() - Method in interface com.hpe.caf.worker.document.model.Application
-
Returns the input message processor.
- getMaximumBatchSize() - Method in interface com.hpe.caf.worker.document.model.BatchSizeController
-
Gets the maximum number of documents that should be included in a batch before it is automatically closed.
- getMaximumBatchTime() - Method in interface com.hpe.caf.worker.document.model.BatchSizeController
-
Gets the maximum length of time (in milliseconds) that a batch should be allowed to build up before it is automatically closed.
- getName() - Method in interface com.hpe.caf.worker.document.model.Application
-
Returns the name of the worker, or null if the name of the worker is unknown.
- getName() - Method in interface com.hpe.caf.worker.document.model.Field
-
Retrieves the name of the field.
- getName() - Method in interface com.hpe.caf.worker.document.model.ResponseQueue
-
Returns the name of the response queue.
- getName() - Method in interface com.hpe.caf.worker.document.model.Script
-
Returns the name of the customization script.
- getObject() - Method in interface com.hpe.caf.worker.document.model.Script
-
This property allows for communication between scripts.
- getParentDocument() - Method in interface com.hpe.caf.worker.document.model.Document
-
Returns the parent document of this document, or null if this document does not have a parent document.
- getParentDocument() - Method in interface com.hpe.caf.worker.document.model.Subdocument
-
Returns the parent document of this subdocument.
- getProcessSubdocumentsSeparately() - Method in interface com.hpe.caf.worker.document.model.InputMessageProcessor
-
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.
- getReference() - Method in interface com.hpe.caf.worker.document.model.Document
-
Returns the reference that is associated with the document.
- getReference() - Method in interface com.hpe.caf.worker.document.model.FieldValue
-
If this field value is a reference (i.e.
- getResponse() - Method in interface com.hpe.caf.worker.document.model.ResponseCustomData
-
Returns the response customization object that this custom data object is associated with.
- getResponse() - Method in interface com.hpe.caf.worker.document.model.ResponseQueue
-
Returns the response customization object that this response queue object is associated with.
- getResponse() - Method in interface com.hpe.caf.worker.document.model.Task
-
Returns an object which can be used to customise the response to the document processing task.
- getRootDocument() - Method in interface com.hpe.caf.worker.document.model.Document
-
Returns the root document of this document's hierarchy.
- getScript() - Method in interface com.hpe.caf.worker.document.model.Script
-
Retrieves the text of the script.
- getScripts() - Method in interface com.hpe.caf.worker.document.model.Task
-
Gets the list of customization scripts associated with this task.
- getService(Class<S>) - Method in interface com.hpe.caf.worker.document.model.Application
-
Returns the specified service, or null if the service has not been registered.
- getService(Class<S>) - Method in interface com.hpe.caf.worker.document.model.ServiceLocator
-
Returns the specified service, or null if the service has not been registered.
- getService(Class<S>) - Method in interface com.hpe.caf.worker.document.model.Task
-
Returns the specified task-level service, or null if the service has not been registered.
- getServiceLocator() - Method in interface com.hpe.caf.worker.document.model.Application
-
Returns the service locator object.
- getStringValue() - Method in interface com.hpe.caf.worker.document.model.FieldValue
-
Decodes the data assuming that it is a UTF-8 encoded string and returns it.
- getStringValues() - Method in interface com.hpe.caf.worker.document.model.Field
-
Returns all the non-reference field values that contain valid UTF-8 encoded strings.
- getSubdocuments() - Method in interface com.hpe.caf.worker.document.model.Document
-
Gets the list of subdocuments currently associated with the document.
- getSuccessQueue() - Method in interface com.hpe.caf.worker.document.model.Response
-
Returns the queue that the response will be published to if it does not contain any new failures.
- getTask() - Method in interface com.hpe.caf.worker.document.model.Document
-
Returns the task that is associated with the document.
- getTask() - Method in interface com.hpe.caf.worker.document.model.Response
-
Returns the task that this response customization object is associated with.
- getTask() - Method in interface com.hpe.caf.worker.document.model.Script
-
Returns the task that this customization script is associated with.
- getTask() - Method in interface com.hpe.caf.worker.document.model.Scripts
-
Returns the task that this list of scripts is associated with.
- getValue() - Method in interface com.hpe.caf.worker.document.model.FieldValue
-
Returns the data if the field value is not a reference (i.e.
- getValues() - Method in interface com.hpe.caf.worker.document.model.Field
-
Returns a collection of all of the values that are currently associated with this field.
- getVersion() - Method in interface com.hpe.caf.worker.document.model.Application
-
Returns the version of the worker, or null if the version of the worker is unknown.
- Script - Interface in com.hpe.caf.worker.document.model
-
Represents a customization script which is attached to a task.
- ScriptEngineType - Enum in com.hpe.caf.worker.document.model
-
Scripting engines supported by the Document Worker Framework.
- Scripts - Interface in com.hpe.caf.worker.document.model
-
Represents the list of customization scripts which are attached to a task.
- ServiceLocator - Interface in com.hpe.caf.worker.document.model
-
Used for caching and loading extra services that may be made available.
- set(String) - Method in interface com.hpe.caf.worker.document.model.Field
-
Sets the value in this field.
- set(byte[]) - Method in interface com.hpe.caf.worker.document.model.Field
-
Sets the binary blob value in this field.
- set(String) - Method in interface com.hpe.caf.worker.document.model.ResponseQueue
-
Sets the response queue.
- setDocumentTasksAccepted(boolean) - Method in interface com.hpe.caf.worker.document.model.InputMessageProcessor
-
Sets whether input messages in the composite document message format are accepted.
- setFieldEnrichmentTasksAccepted(boolean) - Method in interface com.hpe.caf.worker.document.model.InputMessageProcessor
-
Sets whether input messages in the fields enrichment task message format are accepted.
- setMaximumBatchSize(int) - Method in interface com.hpe.caf.worker.document.model.BatchSizeController
-
Sets the maximum number of documents that should be included in a batch before it is automatically closed.
- setMaximumBatchTime(long) - Method in interface com.hpe.caf.worker.document.model.BatchSizeController
-
Sets the maximum length of time (in milliseconds) that a batch should be allowed to build up before it is automatically closed.
- setName(String) - Method in interface com.hpe.caf.worker.document.model.Script
-
Sets the name of the customization script.
- setProcessSubdocumentsSeparately(boolean) - Method in interface com.hpe.caf.worker.document.model.InputMessageProcessor
-
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.
- setReference(String) - Method in interface com.hpe.caf.worker.document.model.Document
-
Sets the reference that should be associated with the document.
- setReference(String) - Method in interface com.hpe.caf.worker.document.model.Field
-
Sets the reference in this field to the data stored in the remote data store.
- setScriptByReference(String) - Method in interface com.hpe.caf.worker.document.model.Script
-
Sets the customization script.
- setScriptByReference(String, ScriptEngineType) - Method in interface com.hpe.caf.worker.document.model.Script
-
Sets the customization script.
- setScriptByUrl(URL) - Method in interface com.hpe.caf.worker.document.model.Script
-
Sets the customization script.
- setScriptByUrl(URL, ScriptEngineType) - Method in interface com.hpe.caf.worker.document.model.Script
-
Sets the customization script.
- setScriptInline(String) - Method in interface com.hpe.caf.worker.document.model.Script
-
Sets the customization script.
- setScriptInline(String, ScriptEngineType) - Method in interface com.hpe.caf.worker.document.model.Script
-
Sets the customization script.
- size() - Method in interface com.hpe.caf.worker.document.model.Failures
-
Returns the number of failures in this collection.
- size() - Method in interface com.hpe.caf.worker.document.model.FieldValues
-
Returns the number of field values in this collection.
- size() - Method in interface com.hpe.caf.worker.document.model.Scripts
-
Returns the number of scripts in this list.
- size() - Method in interface com.hpe.caf.worker.document.model.Subdocuments
-
Returns the number of subdocuments in this collection.
- stream() - Method in interface com.hpe.caf.worker.document.model.Documents
-
Returns a sequential Stream with this document batch as its source.
- stream() - Method in interface com.hpe.caf.worker.document.model.Failures
-
Returns a sequential Stream with this failures collection as its source.
- stream() - Method in interface com.hpe.caf.worker.document.model.Fields
-
Returns a sequential Stream with this field collection as its source.
- stream() - Method in interface com.hpe.caf.worker.document.model.FieldValues
-
Returns a sequential Stream with this field value collection as its source.
- stream() - Method in interface com.hpe.caf.worker.document.model.Scripts
-
Returns a sequential Stream with this list of scripts as its source.
- stream() - Method in interface com.hpe.caf.worker.document.model.Subdocuments
-
Returns a sequential Stream with this subdocuments collection as its source.
- Subdocument - Interface in com.hpe.caf.worker.document.model
-
Represents a direct or indirect subdocument of the document being processed.
- Subdocuments - Interface in com.hpe.caf.worker.document.model
-
Represents the list of subdocuments that are attached to a document.