Package org.apache.camel.model.language
Class LanguageExpression.Builder
java.lang.Object
org.apache.camel.model.language.LanguageExpression.Builder
- All Implemented Interfaces:
LanguageBuilder<LanguageExpression>
- Enclosing class:
LanguageExpression
Builder
is a specific builder for LanguageExpression
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionend()
Ends the build of an expression.expression
(String expression) The expression value in your chosen language syntaxSets the id of this nodeThe name of the language to usepredicate
(org.apache.camel.Predicate predicate) 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 breaks
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
language
The name of the language to use -
end
Description copied from interface:LanguageBuilder
Ends the build of an expression.- Returns:
- the expression fully built.
-
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
-