Package com.orchestranetworks.workflow
Class ConditionBean
- java.lang.Object
-
- com.orchestranetworks.workflow.ConditionBean
-
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.xmlfiles.Contrary to
Condition, noDataContextis accessible from aConditionBeanContext. 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 ConditionBean,
Condition,ScriptTaskBean
-
-
Constructor Summary
Constructors Constructor Description ConditionBean()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract booleanevaluateCondition(ConditionBeanContext aContext)This method is automatically executed when the control flow reaches an exclusive choice (or condition).
-
-
-
Method Detail
-
evaluateCondition
public abstract boolean evaluateCondition(ConditionBeanContext aContext) throws OperationException
This method is automatically executed when the control flow reaches an exclusive choice (or condition).- Throws:
OperationException
-
-