Package org.apache.camel.support
Class ExpressionSupport
- java.lang.Object
-
- org.apache.camel.support.ExpressionSupport
-
- All Implemented Interfaces:
org.apache.camel.Expression,org.apache.camel.Predicate
- Direct Known Subclasses:
ExpressionAdapter
public abstract class ExpressionSupport extends Object implements org.apache.camel.Expression, org.apache.camel.Predicate
A useful base class forPredicateandExpressionimplementations
-
-
Constructor Summary
Constructors Constructor Description ExpressionSupport()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract StringassertionFailureMessage(org.apache.camel.Exchange exchange)voidassertMatches(String text, org.apache.camel.Exchange exchange)Objectevaluate(org.apache.camel.Exchange exchange)voidinit(org.apache.camel.CamelContext context)booleanmatches(org.apache.camel.Exchange exchange)
-
-
-
Method Detail
-
init
public void init(org.apache.camel.CamelContext context)
- Specified by:
initin interfaceorg.apache.camel.Expression- Specified by:
initin interfaceorg.apache.camel.Predicate
-
matches
public boolean matches(org.apache.camel.Exchange exchange)
- Specified by:
matchesin interfaceorg.apache.camel.Predicate
-
evaluate
public Object evaluate(org.apache.camel.Exchange exchange)
-
assertMatches
public void assertMatches(String text, org.apache.camel.Exchange exchange)
-
assertionFailureMessage
protected abstract String assertionFailureMessage(org.apache.camel.Exchange exchange)
-
-