org.apache.lenya.workflow.impl
Class AbstractCondition

java.lang.Object
  extended by org.apache.avalon.framework.logger.AbstractLogEnabled
      extended by org.apache.lenya.workflow.impl.AbstractCondition
All Implemented Interfaces:
org.apache.avalon.framework.logger.LogEnabled, org.apache.lenya.workflow.Condition
Direct Known Subclasses:
BooleanVariableCondition

public abstract class AbstractCondition
extends org.apache.avalon.framework.logger.AbstractLogEnabled
implements org.apache.lenya.workflow.Condition

Abstract base class for workflow conditions.


Constructor Summary
AbstractCondition()
           
 
Method Summary
 java.lang.String getExpression()
          Returns the expression of this condition.
 void setExpression(java.lang.String ex)
           
 java.lang.String toString()
           
 
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
 
Methods inherited from interface org.apache.lenya.workflow.Condition
isComplied
 

Constructor Detail

AbstractCondition

public AbstractCondition()
Method Detail

setExpression

public void setExpression(java.lang.String ex)
                   throws org.apache.lenya.workflow.WorkflowException
Specified by:
setExpression in interface org.apache.lenya.workflow.Condition
Throws:
org.apache.lenya.workflow.WorkflowException
See Also:
setExpression(java.lang.String)

getExpression

public java.lang.String getExpression()
Returns the expression of this condition.

Returns:
A string.

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object
See Also:
Object.toString()


Copyright $ Apache Software Foundation. All Rights Reserved.