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)
|
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)
Copyright © 2006-2011 Imixs Software Solutions GmbH. All Rights Reserved.