org.apache.lenya.workflow.impl
Class BooleanVariableCondition
java.lang.Object
org.apache.avalon.framework.logger.AbstractLogEnabled
org.apache.lenya.workflow.impl.AbstractCondition
org.apache.lenya.workflow.impl.BooleanVariableCondition
- All Implemented Interfaces:
- org.apache.avalon.framework.logger.LogEnabled, org.apache.lenya.workflow.Condition
public class BooleanVariableCondition
- extends AbstractCondition
Implementation of a boolean variable condition.
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.Workflow workflow,
org.apache.lenya.workflow.Workflowable workflowable)
|
void |
setExpression(java.lang.String expression)
|
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled |
enableLogging, getLogger, setupLogger, setupLogger, setupLogger |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
BooleanVariableCondition
public BooleanVariableCondition()
getValue
protected boolean getValue()
- Returns the variable value to check.
- Returns:
- A boolean value.
getVariableName
protected java.lang.String getVariableName()
- Returns the variable name to check.
- Returns:
- A string.
setExpression
public void setExpression(java.lang.String expression)
throws org.apache.lenya.workflow.WorkflowException
- Specified by:
setExpression
in interface org.apache.lenya.workflow.Condition
- Overrides:
setExpression
in class AbstractCondition
- Throws:
org.apache.lenya.workflow.WorkflowException
- See Also:
Condition.setExpression(java.lang.String)
isComplied
public boolean isComplied(org.apache.lenya.workflow.Workflow workflow,
org.apache.lenya.workflow.Workflowable workflowable)
throws org.apache.lenya.workflow.WorkflowException
- Throws:
org.apache.lenya.workflow.WorkflowException
- See Also:
Condition.isComplied(org.apache.lenya.workflow.Workflow,
org.apache.lenya.workflow.Workflowable)
Copyright © $ Apache Software Foundation. All Rights Reserved.