org.imixs.workflow.plugins
Class ResultPlugin
java.lang.Object
org.imixs.workflow.plugins.AbstractPlugin
org.imixs.workflow.plugins.ResultPlugin
- All Implemented Interfaces:
- org.imixs.workflow.Plugin
public class ResultPlugin
- extends AbstractPlugin
This Pluginmodul generates a result message. The Plugin checks if the activiy
document has an "txtActivityResult" attribute. The value will be parsed for
"attribute" tags and these tags will be replaced with the
values of the corresponding attributes of the workitem.
The final result will be stored into the attribute
"txtworkflowresultmessage".
This field could be used by an application to display individual messages
(e.g HTML Code) or return result Strings (e.g. JSF Action Results)
- Version:
- 1.0
- Author:
- Ralph Soika
- See Also:
WorkflowManager
| Fields inherited from interface org.imixs.workflow.Plugin |
PLUGIN_ERROR, PLUGIN_OK, PLUGIN_WARNING |
|
Method Summary |
void |
close(int status)
|
static void |
evaluate(String aString,
org.imixs.workflow.ItemCollection documentContext)
This method parses a string for xml tag - .
|
int |
run(org.imixs.workflow.ItemCollection adocumentContext,
org.imixs.workflow.ItemCollection adocumentActivity)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ResultPlugin
public ResultPlugin()
run
public int run(org.imixs.workflow.ItemCollection adocumentContext,
org.imixs.workflow.ItemCollection adocumentActivity)
throws Exception
- Throws:
Exception
close
public void close(int status)
evaluate
public static void evaluate(String aString,
org.imixs.workflow.ItemCollection documentContext)
throws Exception
- This method parses a string for xml tag
- . Those tags will result in
new workitem properties.
- new Title
Additional the attribute 'type' can be provided to specify a field type 'boolean', 'string', 'integer'
The item will be added into the workitem documentContext
- Throws:
Exception
Copyright © 2006-2012 Imixs Software Solutions GmbH. All Rights Reserved.