1 17 18 19 20 package org.apache.lenya.workflow.impl; 21 22 import org.apache.lenya.workflow.Condition; 23 import org.apache.lenya.workflow.WorkflowException; 24 25 28 public abstract class AbstractCondition implements Condition { 29 30 private String expression; 31 32 35 public void setExpression(String expression) throws WorkflowException { 36 this.expression = expression.trim(); 37 } 38 39 43 public String getExpression() { 44 return expression; 45 } 46 47 50 public String toString() { 51 return getExpression(); 52 } 53 54 } 55 | Popular Tags |