public abstract class ScriptTaskBean extends Object
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.
ScriptTask
,
ConditionBean
Constructor and Description |
---|
ScriptTaskBean() |
Modifier and Type | Method and Description |
---|---|
abstract void |
executeScript(ScriptTaskBeanContext aContext)
This method is automatically executed when the control
flow reaches the script task.
|
public abstract void executeScript(ScriptTaskBeanContext aContext) throws OperationException
OperationException