|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
public interface Condition
A condition can prevent a transition from firing, based on the current situation. Examples:
| Method Summary | |
|---|---|
boolean |
isComplied(Situation situation,
WorkflowInstance instance)
Returns if the condition is complied in a certain situation. |
void |
setExpression(java.lang.String expression)
Sets the expression for this condition. |
| Method Detail |
|---|
boolean isComplied(Situation situation,
WorkflowInstance instance)
throws WorkflowException
situation - The situation to check.instance - The workflow instance to check the condition on.
WorkflowException - when the expression could not be evaluated.
void setExpression(java.lang.String expression)
throws WorkflowException
expression - The expression.
WorkflowException - when the expression is not valid.
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||