Package org.apache.camel.model.language
Class SingleInputExpressionDefinition.AbstractBuilder<T extends SingleInputExpressionDefinition.AbstractBuilder<T,E>,E extends SingleInputExpressionDefinition>
java.lang.Object
org.apache.camel.model.language.SingleInputExpressionDefinition.AbstractBuilder<T,E>
- All Implemented Interfaces:
LanguageBuilder<E>
- Direct Known Subclasses:
TokenizerExpression.Builder
,XMLTokenizerExpression.Builder
,XPathExpression.Builder
,XQueryExpression.Builder
- Enclosing class:
- SingleInputExpressionDefinition
public abstract static class SingleInputExpressionDefinition.AbstractBuilder<T extends SingleInputExpressionDefinition.AbstractBuilder<T,E>,E extends SingleInputExpressionDefinition>
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 syntaxheaderName
(String headerName) Name of header to use as input, instead of the message bodySets the id of this nodepredicate
(org.apache.camel.Predicate predicate) propertyName
(String propertyName) Name of property to use as input, instead of the message body.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
-
headerName
Name of header to use as input, instead of the message body It has as higher precedent than the propertyName if both are set. -
propertyName
Name of property to use as input, instead of the message body. It has a lower precedent than the headerName if both are set. -
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
-