public abstract class ConditionBean extends Object
This abstract class must be extended in order to define a library condition.
A condition bean describes its label, description and
properties list. This condition will then be automatically offered in
the workflow definition (with specified label and defined parameters).
The declaration must be made in module.xml
files.
Contrary to Condition
, no DataContext
is accessible
from a ConditionBeanContext
. It is necessary to use mapping for input and output parameters.
By this way, the bean is more dynamic and reusable.
Condition
,
ScriptTaskBean
Constructor and Description |
---|
ConditionBean() |
Modifier and Type | Method and Description |
---|---|
abstract boolean |
evaluateCondition(ConditionBeanContext aContext)
This method is automatically executed when the control
flow reaches an exclusive choice (or condition).
|
public abstract boolean evaluateCondition(ConditionBeanContext aContext) throws OperationException
OperationException