public interface Condition
extends java.io.Serializable
Modifier and Type | Method and Description |
---|---|
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.
|
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.© 2000-2025 Flux Corporation. All rights reserved.