public class OCRDocumentPlugin
extends org.imixs.workflow.engine.plugins.AbstractPlugin
The TikaPlugin can be used instead of the TIKA_SERVICE_MODE = 'auto' which will react on the ProcessingEvent BEFORE_PROCESS. The plugin runs only in case the TIKA_SERVICE_MODE is NOT set to 'auto'!
OCRDocumentService| Constructor and Description |
|---|
OCRDocumentPlugin() |
| Modifier and Type | Method and Description |
|---|---|
void |
init(org.imixs.workflow.WorkflowContext actx) |
org.imixs.workflow.ItemCollection |
run(org.imixs.workflow.ItemCollection document,
org.imixs.workflow.ItemCollection event)
This method sends the document content to the tika server and updates the DMS
information.
|
public void init(org.imixs.workflow.WorkflowContext actx)
throws org.imixs.workflow.exceptions.PluginException
init in interface org.imixs.workflow.Plugininit in class org.imixs.workflow.engine.plugins.AbstractPluginorg.imixs.workflow.exceptions.PluginExceptionpublic org.imixs.workflow.ItemCollection run(org.imixs.workflow.ItemCollection document,
org.imixs.workflow.ItemCollection event)
throws org.imixs.workflow.exceptions.PluginException
org.imixs.workflow.exceptions.PluginExceptionCopyright © 2016–2020 Imixs Software Solutions GmbH. All rights reserved.