|
||||||||
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.cms.workflow.RoleCondition
public class RoleCondition
Field Summary | |
---|---|
protected static java.lang.String |
SEPARATOR
|
Constructor Summary | |
---|---|
RoleCondition()
|
Method Summary | |
---|---|
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 |
Field Detail |
---|
protected static final java.lang.String SEPARATOR
Constructor Detail |
---|
public RoleCondition()
Method Detail |
---|
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
situation
- The situation to check.instance
- The workflow instance to check the condition on.
WorkflowException
- when the expression could not be evaluated.Condition.isComplied(Situation, WorkflowInstance)
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |