Package org.apache.camel.model.language
Class TypedExpressionDefinition.AbstractBuilder<T extends TypedExpressionDefinition.AbstractBuilder<T,E>,E extends TypedExpressionDefinition>
java.lang.Object
org.apache.camel.model.language.TypedExpressionDefinition.AbstractBuilder<T,E>
- All Implemented Interfaces:
LanguageBuilder<E>
- Direct Known Subclasses:
ConstantExpression.Builder
,CSimpleExpression.Builder
,DatasonnetExpression.Builder
,GroovyExpression.Builder
,JavaScriptExpression.Builder
,JoorExpression.Builder
,MethodCallExpression.Builder
,MvelExpression.Builder
,OgnlExpression.Builder
,PythonExpression.Builder
,RefExpression.Builder
,SimpleExpression.Builder
,SingleInputTypedExpressionDefinition.AbstractBuilder
,SpELExpression.Builder
- Enclosing class:
- TypedExpressionDefinition
public abstract static class TypedExpressionDefinition.AbstractBuilder<T extends TypedExpressionDefinition.AbstractBuilder<T,E>,E extends TypedExpressionDefinition>
extends Object
AbstractBuilder
is the base builder for typed expression.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionexpression
(String expression) The expression value in your chosen language syntaxSets the id of this nodepredicate
(org.apache.camel.Predicate predicate) resultType
(Class<?> resultType) Sets the class name of the result type (type from output)resultTypeName
(String resultTypeName) Sets the class of the result type (type from output)trim
(boolean trim) Whether to trim the value to remove leading and trailing whitespaces and line breaksWhether to trim the value to remove leading and trailing whitespaces and line breaksMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.camel.builder.LanguageBuilder
end
-
Constructor Details
-
AbstractBuilder
public AbstractBuilder()
-
-
Method Details
-
resultTypeName
Sets the class of the result type (type from output) -
resultType
Sets the class name of the result type (type from output) -
id
Sets the id of this node -
trim
Whether to trim the value to remove leading and trailing whitespaces and line breaks -
trim
Whether to trim the value to remove leading and trailing whitespaces and line breaks -
expression
The expression value in your chosen language syntax -
predicate
-