|
|||||||||
| Home >> All >> org >> apache >> lenya >> workflow >> [ impl overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.apache.lenya.workflow.impl
Class BooleanVariableCondition

java.lang.Objectorg.apache.lenya.workflow.impl.AbstractCondition
org.apache.lenya.workflow.impl.BooleanVariableCondition
- All Implemented Interfaces:
- org.apache.lenya.workflow.Condition
- public class BooleanVariableCondition
- extends AbstractCondition
Implementation of a boolean variable condition.
| Field Summary | |
private static org.apache.log4j.Category |
log
|
private boolean |
value
|
private java.lang.String |
variableName
|
| Fields inherited from class org.apache.lenya.workflow.impl.AbstractCondition |
|
| 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(org.apache.lenya.workflow.Situation situation,
org.apache.lenya.workflow.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 |
| Field Detail |
log
private static final org.apache.log4j.Category log
variableName
private java.lang.String variableName
value
private boolean value
| Constructor Detail |
BooleanVariableCondition
public BooleanVariableCondition()
| Method Detail |
getValue
protected boolean getValue()
- Returns the variable value to check.
getVariableName
protected java.lang.String getVariableName()
- Returns the variable name to check.
setExpression
public void setExpression(java.lang.String expression) throws org.apache.lenya.workflow.WorkflowException
- Description copied from interface:
org.apache.lenya.workflow.Condition - Sets the expression for this condition.
- Specified by:
setExpressionin interfaceorg.apache.lenya.workflow.Condition- Overrides:
setExpressionin classAbstractCondition
isComplied
public boolean isComplied(org.apache.lenya.workflow.Situation situation, org.apache.lenya.workflow.WorkflowInstance instance) throws org.apache.lenya.workflow.WorkflowException
- Description copied from interface:
org.apache.lenya.workflow.Condition - Returns if the condition is complied in a certain situation.
|
|||||||||
| Home >> All >> org >> apache >> lenya >> workflow >> [ impl overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC