com.orchestranetworks.workflow
Class Condition

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

public abstract class Condition
extends Object

Condition node; its purpose is to evaluate which fork the process must take.

This abstract class must be implemented in order to define a specific exclusive choice in the context of a process control flow.

Life cycle

This class is state-less, it is instantiated each time the control flow of the process instance has advanced to a condition node.
Example of Condition.

See Also:
ScriptTask, UserTask

Constructor Summary
Condition()
           
 
Method Summary
abstract  boolean evaluateCondition(ConditionContext 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

Condition

public Condition()
Method Detail

evaluateCondition

public abstract boolean evaluateCondition(ConditionContext aContext)
                                   throws OperationException
This method is automatically executed when the control flow reaches an exclusive choice (or condition).

It is not recommended for an implementation of this method to have a persistent side-effect on the repository. For automatic updates on the repository, the class ScriptTask should be used instead.

Throws:
OperationException


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