org.imixs.workflow.plugins
Class StatisticPlugin

java.lang.Object
  extended by org.imixs.workflow.plugins.StatisticPlugin
All Implemented Interfaces:
Plugin

public class StatisticPlugin
extends Object
implements Plugin

This Pluginmodul is a draft implementation of a statistic plugin

Version:
1.0
Author:
Ralph Soika
See Also:
WorkflowManager

Field Summary
 
Fields inherited from interface org.imixs.workflow.Plugin
PLUGIN_ERROR, PLUGIN_OK, PLUGIN_WARNING
 
Constructor Summary
StatisticPlugin()
           
 
Method Summary
 void close(int status)
          This CallBack Mathode is uses to giv the plugin the chance to close plubin spcific data
 void init(WorkflowContext actx)
          The init Methode is usesd to initialize the plugin.
 int run(ItemCollection adocumentContext, ItemCollection adocumentActivity)
          changes the namworkflowreadaccess and namworkflowwriteaccess attribues depending to the activityentity
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StatisticPlugin

public StatisticPlugin()
Method Detail

init

public void init(WorkflowContext actx)
          throws Exception
Description copied from interface: Plugin
The init Methode is usesd to initialize the plugin.

Specified by:
init in interface Plugin
Parameters:
actx - defines the context in which the plugin runs a Plugin can use this context to get information about the enviroment
Throws:
Exception

run

public int run(ItemCollection adocumentContext,
               ItemCollection adocumentActivity)
        throws Exception
changes the namworkflowreadaccess and namworkflowwriteaccess attribues depending to the activityentity

Specified by:
run in interface Plugin
Parameters:
adocumentContext - defines the document to be processed
adocumentActivity - defines the activity document which contains the workflowprocessing instructions
Returns:
the current status for this plugin
Throws:
Exception

close

public void close(int status)
           throws Exception
Description copied from interface: Plugin
This CallBack Mathode is uses to giv the plugin the chance to close plubin spcific data

Specified by:
close in interface Plugin
Parameters:
status - gives the plugin information about the current status. this parameter is deliverd by the workflowKernel.
Throws:
Exception


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