com.orchestranetworks.workflow
Class ConditionBean

java.lang.Object
  extended bycom.orchestranetworks.workflow.ConditionBean

public abstract class ConditionBean
extends Object

This abstract class must be implemented 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.

See Also:
Example of ConditionBean, Condition, ScriptTaskBean

Constructor Summary
ConditionBean()
           
 
Method Summary
abstract  boolean evaluateCondition(ConditionBeanContext aContext)
          This method is automatically executed when the control flow reaches an exclusive choice (or condition).
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConditionBean

public ConditionBean()
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


(report a bug)
EBX.Platform 4.8.4 [0722]
Copyright Orchestra Networks 2000-2010. All rights reserved.