org.imixs.workflow.plugins
Class LogPlugin
java.lang.Object
org.imixs.workflow.plugins.AbstractPlugin
org.imixs.workflow.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:
WorkflowManager
|
Method Summary |
void |
close(int status)
nothing to do |
int |
run(ItemCollection adocumentContext,
ItemCollection adocumentActivity)
the log entries generated form the kernel will be cut if the attribute
numWorkflowLogLength was provided |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
documentContext
public ItemCollection documentContext
LogPlugin
public LogPlugin()
run
public int run(ItemCollection adocumentContext,
ItemCollection adocumentActivity)
throws Exception
- the log entries generated form the kernel will be cut if the attribute
numWorkflowLogLength was provided
- Parameters:
adocumentContext - defines the document to be processedadocumentActivity - defines the activity document which contains the workflowprocessing instructions
- Returns:
- the current status for this plugin
- Throws:
Exception
close
public void close(int status)
- nothing to do
- Parameters:
status - gives the plugin information about the current status. this parameter is deliverd by the workflowKernel.
Copyright © 2006-2011 Imixs Software Solutions GmbH. All Rights Reserved.