Package com.orchestranetworks.workflow
Class ScriptTaskBean
- java.lang.Object
-
- com.orchestranetworks.workflow.ScriptTaskBean
-
public abstract class ScriptTaskBean extends Object
This abstract class must be implemented in order to define a library script task. A
ScriptTaskBeanspecifies 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 inmodule.xmlfiles.Contrary to
ScriptTask, noDataContextis accessible from aScriptTaskBeanContext. It is necessary to use mapping for input and output parameters. By this way, the bean is more dynamic and reusable.- See Also:
- Example
of ScriptTaskBean,
ScriptTask,ConditionBean
-
-
Constructor Summary
Constructors Constructor Description ScriptTaskBean()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract voidexecuteScript(ScriptTaskBeanContext aContext)This method is automatically executed when the control flow reaches the script task.
-
-
-
Method Detail
-
executeScript
public abstract void executeScript(ScriptTaskBeanContext aContext) throws OperationException
This method is automatically executed when the control flow reaches the script task.- Throws:
OperationException
-
-