Package org.apache.camel.model.language
Class CSimpleExpression
- java.lang.Object
-
- org.apache.camel.model.language.ExpressionDefinition
-
- org.apache.camel.model.language.CSimpleExpression
-
- All Implemented Interfaces:
org.apache.camel.Expression,org.apache.camel.ExpressionFactory,HasExpressionType,org.apache.camel.Predicate,org.apache.camel.PredicateFactory,org.apache.camel.spi.ExpressionFactoryAware,org.apache.camel.spi.PredicateFactoryAware
@Metadata(firstVersion="3.7.0", label="language,java", title="CSimple") public class CSimpleExpression extends ExpressionDefinitionEvaluate a compiled simple expression.
-
-
Constructor Summary
Constructors Constructor Description CSimpleExpression()CSimpleExpression(String expression)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetLanguage()Class<?>getResultType()StringgetResultTypeName()voidsetResultType(Class<?> resultType)Sets the class of the result type (type from output)voidsetResultTypeName(String resultTypeName)Sets the class name of the result type (type from output)-
Methods inherited from class org.apache.camel.model.language.ExpressionDefinition
createExpression, createPredicate, evaluate, getExpression, getExpressionFactory, getExpressionType, getExpressionValue, getId, getLabel, getLabel, getPredicate, getPredicateFactory, getTrim, init, initPredicate, matches, setExpression, setExpressionType, setExpressionValue, setId, setTrim, toString
-
-
-
-
Constructor Detail
-
CSimpleExpression
public CSimpleExpression()
-
CSimpleExpression
public CSimpleExpression(String expression)
-
-
Method Detail
-
getLanguage
public String getLanguage()
- Overrides:
getLanguagein classExpressionDefinition
-
getResultType
public Class<?> getResultType()
-
setResultType
public void setResultType(Class<?> resultType)
Sets the class of the result type (type from output)
-
getResultTypeName
public String getResultTypeName()
-
setResultTypeName
public void setResultTypeName(String resultTypeName)
Sets the class name of the result type (type from output)
-
-