|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.imixs.workflow.plugins.AbstractPlugin
org.imixs.workflow.plugins.LogPlugin
public class LogPlugin
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.
WorkflowManager| Field Summary | |
|---|---|
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(ItemCollection adocumentContext,
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, getAbbreviateName, getCommonName, init, replaceDynamicValues |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public ItemCollection documentContext
| Constructor Detail |
|---|
public LogPlugin()
| Method Detail |
|---|
public int run(ItemCollection adocumentContext,
ItemCollection adocumentActivity)
throws java.lang.Exception
adocumentContext - defines the document to be processedadocumentActivity - defines the activity document which contains the workflowprocessing instructions
java.lang.Exceptionpublic void close(int status)
status - gives the plugin information about the current status. this parameter is deliverd by the workflowKernel.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||