Class LogPlugin

java.lang.Object
org.imixs.workflow.engine.plugins.AbstractPlugin
org.imixs.workflow.engine.plugins.LogPlugin
All Implemented Interfaces:
Plugin

public class LogPlugin extends AbstractPlugin
This Pluginmodul cuts the length of the technical log entries generated by the WorkflowKernel: txtWorkflowPluginLog txtWorkflowActivityLog The Attribute numWorkflowLogLength indicates the maximum number of entries. if <= 0 no limit is set.
Version:
1.2
Author:
Ralph Soika
See Also:
  • Constructor Details

    • LogPlugin

      public LogPlugin()
  • Method Details

    • run

      public ItemCollection run(ItemCollection documentContext, ItemCollection adocumentActivity) throws PluginException
      the log entries generated form the kernel will be cut if the attribute numWorkflowLogLength was provided
      Parameters:
      documentContext - the workitem to be processed
      adocumentActivity - the workflow event containing the processing instructions
      Returns:
      updated workitem for further processing
      Throws:
      PluginException