|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.lenya.workflow.impl.AbstractCondition org.apache.lenya.workflow.impl.BooleanVariableCondition
public class BooleanVariableCondition
Implementation of a boolean variable condition.
Constructor Summary | |
---|---|
BooleanVariableCondition()
|
Method Summary | |
---|---|
protected boolean |
getValue()
Returns the variable value to check. |
protected java.lang.String |
getVariableName()
Returns the variable name to check. |
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. |
Methods inherited from class org.apache.lenya.workflow.impl.AbstractCondition |
---|
getExpression, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public BooleanVariableCondition()
Method Detail |
---|
protected boolean getValue()
protected java.lang.String getVariableName()
public void setExpression(java.lang.String expression) throws WorkflowException
Condition
setExpression
in interface Condition
setExpression
in class AbstractCondition
expression
- The expression.
WorkflowException
- when the expression is not valid.Condition.setExpression(java.lang.String)
public boolean isComplied(Situation situation, WorkflowInstance instance) throws WorkflowException
Condition
situation
- The situation to check.instance
- The workflow instance to check the condition on.
WorkflowException
- when the expression could not be evaluated.Condition.isComplied(org.apache.lenya.workflow.Situation, org.apache.lenya.workflow.WorkflowInstance)
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |