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) |
void |
init(org.apache.camel.CamelContext context) |
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.Predicate
public static org.apache.camel.Predicate toPredicate(org.apache.camel.Expression expression)
Predicate
public void init(org.apache.camel.CamelContext context)
init
in interface org.apache.camel.Predicate
public void setCamelContext(org.apache.camel.CamelContext camelContext)
setCamelContext
in interface org.apache.camel.CamelContextAware
public org.apache.camel.CamelContext getCamelContext()
getCamelContext
in interface org.apache.camel.CamelContextAware
public org.apache.camel.spi.PropertyConfigurer getPropertyConfigurer(Object instance)
getPropertyConfigurer
in interface org.apache.camel.spi.PropertyConfigurerAware
Apache Camel