Package com.orchestranetworks.workflow
Class ConditionBean
java.lang.Object
com.orchestranetworks.workflow.ConditionBean
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.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract boolean
evaluateCondition
(ConditionBeanContext aContext) This method is automatically executed when the control flow reaches an exclusive choice (or condition).
-
Constructor Details
-
ConditionBean
public ConditionBean()
-
-
Method Details
-
evaluateCondition
This method is automatically executed when the control flow reaches an exclusive choice (or condition).- Throws:
OperationException
-