public final class ExpressionToPredicateAdapter extends Object implements Predicate
| Constructor and Description |
|---|
ExpressionToPredicateAdapter(Expression expression) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
matches(Exchange exchange)
Evaluates the predicate on the message exchange and returns true if this
exchange matches the predicate
|
static Predicate |
toPredicate(Expression expression)
Converts the given expression into an
Predicate |
String |
toString() |
public ExpressionToPredicateAdapter(Expression expression)
public boolean matches(Exchange exchange)
Predicatepublic static Predicate toPredicate(Expression expression)
PredicateApache Camel