Package org.apache.camel.support
Class ConstantExpressionAdapter
java.lang.Object
org.apache.camel.support.ExpressionSupport
org.apache.camel.support.ExpressionAdapter
org.apache.camel.support.ConstantExpressionAdapter
- All Implemented Interfaces:
org.apache.camel.Expression
,org.apache.camel.Predicate
,org.apache.camel.StaticExpression
public abstract class ConstantExpressionAdapter
extends ExpressionAdapter
implements org.apache.camel.StaticExpression
A helper class for developers wishing to implement an
Expression
using Java code with a
minimum amount of code to write so that the developer only needs to implement one of the
ExpressionAdapter.evaluate(Exchange, Class)
or ExpressionSupport.evaluate(Exchange)
methods.-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.camel.support.ExpressionAdapter
assertionFailureMessage, evaluate, init
Methods inherited from class org.apache.camel.support.ExpressionSupport
assertMatches, evaluate, matches
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, init
Methods inherited from interface org.apache.camel.Predicate
initPredicate
-
Constructor Details
-
ConstantExpressionAdapter
public ConstantExpressionAdapter()
-
-
Method Details
-
setValue
- Specified by:
setValue
in interfaceorg.apache.camel.StaticExpression
-
getValue
- Specified by:
getValue
in interfaceorg.apache.camel.StaticExpression
-