public final class ExpressionToPredicateAdapter extends Object implements org.apache.camel.Predicate, org.apache.camel.CamelContextAware, org.apache.camel.spi.PropertyConfigurerAware
Expression as a Predicate| Constructor and Description |
|---|
ExpressionToPredicateAdapter(org.apache.camel.Expression expression) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.camel.CamelContext |
getCamelContext() |
org.apache.camel.spi.PropertyConfigurer |
getPropertyConfigurer(Object instance) |
boolean |
matches(org.apache.camel.Exchange exchange) |
void |
setCamelContext(org.apache.camel.CamelContext camelContext) |
static org.apache.camel.Predicate |
toPredicate(org.apache.camel.Expression expression)
Converts the given expression into an
Predicate |
String |
toString() |
public ExpressionToPredicateAdapter(org.apache.camel.Expression expression)
public boolean matches(org.apache.camel.Exchange exchange)
matches in interface org.apache.camel.Predicatepublic static org.apache.camel.Predicate toPredicate(org.apache.camel.Expression expression)
Predicatepublic void setCamelContext(org.apache.camel.CamelContext camelContext)
setCamelContext in interface org.apache.camel.CamelContextAwarepublic org.apache.camel.CamelContext getCamelContext()
getCamelContext in interface org.apache.camel.CamelContextAwarepublic org.apache.camel.spi.PropertyConfigurer getPropertyConfigurer(Object instance)
getPropertyConfigurer in interface org.apache.camel.spi.PropertyConfigurerAwareApache Camel