|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Condition
Represents an idempotent (no side-effect) expression that is evaluated to determine whether a particular flow in a flow chart should be followed.
Method Summary | |
---|---|
java.lang.String |
getExpression()
Returns this conditional expression. |
boolean |
isElse()
Indicates whether this conditional expression guides the flow chart into an else action. |
boolean |
isError()
Indicates whether this conditional expression guides the flow chart into an error action via an error flow. |
boolean |
isErrorWithoutRollback()
Indicates whether this conditional expression guides the flow chart into an error action via an error flow without rolling back the current transaction. |
boolean |
isErrorWithRollback()
Indicates whether this conditional expression guides the flow chart into an error action via an error flow while rolling back the current transaction. |
boolean |
isTrue()
Indicates whether this expression is an unconditional "true" expression. |
boolean |
isTrue(FlowContext flowContext)
Evaluates this condition's expression. |
Method Detail |
---|
java.lang.String getExpression()
boolean isElse()
boolean isError()
boolean isErrorWithoutRollback()
boolean isErrorWithRollback()
boolean isTrue()
boolean isTrue(FlowContext flowContext) throws EngineException
flowContext
- The context in which to evaluate this expression.
EngineException
- if the expression cannot be evaluated.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |