Package com.orchestranetworks.workflow
Class ScriptTaskBean
java.lang.Object
com.orchestranetworks.workflow.ScriptTaskBean
This abstract class must be implemented in order to define a library script task.
A ScriptTaskBean specifies its label, description and
properties list. This script will then be automatically offered in
the workflow definition (with its specified label and defined parameters).
The declaration must be made in module.xml files.
Contrary to ScriptTask, no DataContext is accessible
from a ScriptTaskBeanContext. It is necessary to use mapping for input and output parameters.
By this way, the bean is more dynamic and reusable.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract voidexecuteScript(ScriptTaskBeanContext aContext) This method is automatically executed when the control flow reaches the script task.
-
Constructor Details
-
ScriptTaskBean
public ScriptTaskBean()
-
-
Method Details
-
executeScript
This method is automatically executed when the control flow reaches the script task.- Throws:
OperationException
-