Class TypedExpressionDefinition

java.lang.Object
org.apache.camel.model.language.ExpressionDefinition
org.apache.camel.model.language.TypedExpressionDefinition
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
Direct Known Subclasses:
ConstantExpression, CSimpleExpression, GroovyExpression, JavaExpression, JavaScriptExpression, JoorExpression, MethodCallExpression, MvelExpression, OgnlExpression, PythonExpression, RefExpression, SimpleExpression, SingleInputTypedExpressionDefinition, SpELExpression, WasmExpression

public abstract class TypedExpressionDefinition extends ExpressionDefinition
Expression for which a result type can be provided.
  • Constructor Details

    • TypedExpressionDefinition

      protected TypedExpressionDefinition()
    • TypedExpressionDefinition

      protected TypedExpressionDefinition(String expression)
    • TypedExpressionDefinition

      protected TypedExpressionDefinition(org.apache.camel.Expression expression)
    • TypedExpressionDefinition

      protected TypedExpressionDefinition(TypedExpressionDefinition.AbstractBuilder<?,?> builder)
  • Method Details

    • getResultTypeName

      public String getResultTypeName()
    • setResultTypeName

      public void setResultTypeName(String resultTypeName)
      Sets the class of the result type (type from output)
    • getResultType

      public Class<?> getResultType()
    • setResultType

      public void setResultType(Class<?> resultType)
      Sets the class name of the result type (type from output)