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 for
Predicate
and Expression
implementations-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract String
assertionFailureMessage
(org.apache.camel.Exchange exchange) void
assertMatches
(String text, org.apache.camel.Exchange exchange) evaluate
(org.apache.camel.Exchange exchange) void
init
(org.apache.camel.CamelContext context) boolean
matches
(org.apache.camel.Exchange exchange) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.camel.Expression
evaluate
Methods inherited from interface org.apache.camel.Predicate
initPredicate
-
Constructor Details
-
ExpressionSupport
public ExpressionSupport()
-
-
Method Details
-
init
public void init(org.apache.camel.CamelContext context) - Specified by:
init
in interfaceorg.apache.camel.Expression
- Specified by:
init
in interfaceorg.apache.camel.Predicate
-
matches
public boolean matches(org.apache.camel.Exchange exchange) - Specified by:
matches
in interfaceorg.apache.camel.Predicate
-
evaluate
-
assertMatches
-
assertionFailureMessage
-