@Metadata(firstVersion="1.1.0", label="language,core,java", title="Simple") public class SimpleExpression extends ExpressionDefinition
Constructor and Description |
---|
SimpleExpression() |
SimpleExpression(Expression expression) |
SimpleExpression(String expression) |
Modifier and Type | Method and Description |
---|---|
Expression |
createExpression(CamelContext camelContext) |
Predicate |
createPredicate(CamelContext camelContext) |
String |
getLanguage() |
Class<?> |
getResultType() |
String |
getResultTypeName() |
void |
setResultType(Class<?> resultType)
Sets the class of the result type (type from output)
|
void |
setResultTypeName(String resultTypeName)
Sets the class name of the result type (type from output)
|
assertMatches, configureExpression, configurePredicate, createExpression, createPredicate, evaluate, evaluate, getExpression, getExpressionType, getExpressionValue, getId, getLabel, getLabel, getOtherAttributes, getPredicate, getTrim, matches, setExpression, setExpressionType, setExpressionValue, setId, setOtherAttributes, setProperty, setTrim, toString
public SimpleExpression()
public SimpleExpression(String expression)
public SimpleExpression(Expression expression)
public String getLanguage()
getLanguage
in class ExpressionDefinition
public Class<?> getResultType()
public void setResultType(Class<?> resultType)
public String getResultTypeName()
public void setResultTypeName(String resultTypeName)
public Expression createExpression(CamelContext camelContext)
createExpression
in class ExpressionDefinition
public Predicate createPredicate(CamelContext camelContext)
createPredicate
in class ExpressionDefinition
Apache Camel