Klasse AnalysisPlugin
java.lang.Object
org.imixs.workflow.engine.plugins.AbstractPlugin
org.imixs.workflow.engine.plugins.AnalysisPlugin
- Alle implementierten Schnittstellen:
Plugin
This plugin can be used to measure the time of any phase during a workflow.
The plugin can be configured by the activity result :
Example:
- M1
defines a start point named 'M1'
- M2
definens a end point named 'M1'
The result will be stored into the txtWorkflowActivityLog (comments) and also
the Plugin will create the following fields:
- datMeasurePointStart_M1 : contains the start time points (list latest entry
on top!)
- datMeasurePointEnd_M1 : contains the end time points (list)
- numMeasurePoint_M1: contains the total time in milis.
With this logic we can measure any time aspact of a process instance- Autor:
- rsoika
-
Feldübersicht
FelderVon Klasse geerbte Felder org.imixs.workflow.engine.plugins.AbstractPlugin
INVALID_ITEMVALUE_FORMAT, INVALID_PROPERTYVALUE_FORMAT -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungList<org.imixs.workflow.engine.plugins.AnalysisPlugin.MeasurePoint> evaluate(String aString, ItemCollection documentContext) This method parses the a string for xml tag- xxx
.run(ItemCollection documentContext, ItemCollection documentActivity) Von Klasse geerbte Methoden org.imixs.workflow.engine.plugins.AbstractPlugin
close, getWorkflowContext, getWorkflowService, init, mergeFieldList, setWorkflowService, uniqueList
-
Felddetails
-
INVALID_FORMAT
- Siehe auch:
-
-
Konstruktordetails
-
AnalysisPlugin
public AnalysisPlugin()
-
-
Methodendetails
-
run
public ItemCollection run(ItemCollection documentContext, ItemCollection documentActivity) throws PluginException - Parameter:
documentContext- the workitem to be processeddocumentActivity- the workflow event containing the processing instructions- Gibt zurück:
- updated workitem for further processing
- Löst aus:
PluginException
-
evaluate
public List<org.imixs.workflow.engine.plugins.AnalysisPlugin.MeasurePoint> evaluate(String aString, ItemCollection documentContext) throws PluginException This method parses the a string for xml tag- xxx
. Those tags will result in MeasurePoint- M1
- Gibt zurück:
- - a list of measure points
- Löst aus:
PluginException
-