Class LogPlugin
java.lang.Object
org.imixs.workflow.engine.plugins.AbstractPlugin
org.imixs.workflow.engine.plugins.LogPlugin
- All Implemented Interfaces:
Plugin
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:
-
Field Summary
Fields inherited from class org.imixs.workflow.engine.plugins.AbstractPlugin
INVALID_ITEMVALUE_FORMAT, INVALID_PROPERTYVALUE_FORMAT
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionrun
(ItemCollection documentContext, ItemCollection adocumentActivity) the log entries generated form the kernel will be cut if the attribute numWorkflowLogLength was providedMethods inherited from class org.imixs.workflow.engine.plugins.AbstractPlugin
close, getCtx, getWorkflowService, init, mergeFieldList, uniqueList
-
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 processedadocumentActivity
- the workflow event containing the processing instructions- Returns:
- updated workitem for further processing
- Throws:
PluginException
-