public abstract class ExpressionSupport extends Object implements org.apache.camel.Expression, org.apache.camel.Predicate
Predicate
and Expression
implementationsConstructor and Description |
---|
ExpressionSupport() |
Modifier and Type | Method and Description |
---|---|
protected abstract String |
assertionFailureMessage(org.apache.camel.Exchange exchange) |
void |
assertMatches(String text,
org.apache.camel.Exchange exchange) |
Object |
evaluate(org.apache.camel.Exchange exchange) |
void |
init(org.apache.camel.CamelContext context) |
boolean |
matches(org.apache.camel.Exchange exchange) |
public void init(org.apache.camel.CamelContext context)
init
in interface org.apache.camel.Expression
init
in interface org.apache.camel.Predicate
public boolean matches(org.apache.camel.Exchange exchange)
matches
in interface org.apache.camel.Predicate
public Object evaluate(org.apache.camel.Exchange exchange)
public void assertMatches(String text, org.apache.camel.Exchange exchange)
protected abstract String assertionFailureMessage(org.apache.camel.Exchange exchange)
Apache Camel