org.imixs.workflow.plugins
Class LogPlugin

java.lang.Object
  extended by org.imixs.workflow.plugins.AbstractPlugin
      extended by org.imixs.workflow.plugins.LogPlugin
All Implemented Interfaces:
org.imixs.workflow.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:
WorkflowManager

Field Summary
 org.imixs.workflow.ItemCollection documentContext
           
 
Fields inherited from class org.imixs.workflow.plugins.AbstractPlugin
ctx
 
Fields inherited from interface org.imixs.workflow.Plugin
PLUGIN_ERROR, PLUGIN_OK, PLUGIN_WARNING
 
Constructor Summary
LogPlugin()
           
 
Method Summary
 void close(int status)
          nothing to do
 int run(org.imixs.workflow.ItemCollection adocumentContext, org.imixs.workflow.ItemCollection adocumentActivity)
          the log entries generated form the kernel will be cut if the attribute numWorkflowLogLength was provided
 
Methods inherited from class org.imixs.workflow.plugins.AbstractPlugin
formatItemValues, init, replaceDynamicValues
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

documentContext

public org.imixs.workflow.ItemCollection documentContext
Constructor Detail

LogPlugin

public LogPlugin()
Method Detail

run

public int run(org.imixs.workflow.ItemCollection adocumentContext,
               org.imixs.workflow.ItemCollection adocumentActivity)
        throws Exception
the log entries generated form the kernel will be cut if the attribute numWorkflowLogLength was provided

Throws:
Exception

close

public void close(int status)
nothing to do



Copyright © 2006-2012 Imixs Software Solutions GmbH. All Rights Reserved.