|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface BinaryPredicate
A predicate which is evaluating a binary expression.
The predicate has a left and right hand side expressions which is matched based on an operator. This predicate offers thematchesReturningFailureMessage(org.apache.camel.Exchange)
method
which evaluates and return a detailed failure message if the predicate did not match.
Method Summary | |
---|---|
Expression |
getLeft()
Gets the left hand side expression |
java.lang.String |
getOperator()
Gets the operator |
Expression |
getRight()
Gets the right hand side expression |
java.lang.String |
matchesReturningFailureMessage(Exchange exchange)
Evaluates the predicate on the message exchange and returns null if this exchange matches the predicate. |
Methods inherited from interface org.apache.camel.Predicate |
---|
matches |
Method Detail |
---|
java.lang.String getOperator()
Expression getLeft()
Expression getRight()
java.lang.String matchesReturningFailureMessage(Exchange exchange)
exchange
- the message exchange
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |