Package org.apache.camel.model.language
Class JoorExpression.Builder
java.lang.Object
org.apache.camel.model.language.TypedExpressionDefinition.AbstractBuilder<JoorExpression.Builder,JoorExpression>
org.apache.camel.model.language.JoorExpression.Builder
- All Implemented Interfaces:
LanguageBuilder<JoorExpression>
- Enclosing class:
- JoorExpression
public static class JoorExpression.Builder
extends TypedExpressionDefinition.AbstractBuilder<JoorExpression.Builder,JoorExpression>
Builder
is a specific builder for JoorExpression
.-
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 nodepreCompile
(boolean preCompile) Whether the expression should be pre compiled once during initialization phase.preCompile
(String preCompile) Whether the expression should be pre compiled once during initialization phase.predicate
(org.apache.camel.Predicate predicate) singleQuotes
(boolean singleQuotes) Whether single quotes can be used as replacement for double quotes.singleQuotes
(String singleQuotes) Whether single quotes can be used as replacement for double quotes.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 org.apache.camel.model.language.TypedExpressionDefinition.AbstractBuilder
resultType, resultTypeName
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
preCompile
Whether the expression should be pre compiled once during initialization phase. If this is turned off, then the expression is reloaded and compiled on each evaluation. -
preCompile
Whether the expression should be pre compiled once during initialization phase. If this is turned off, then the expression is reloaded and compiled on each evaluation. -
singleQuotes
Whether single quotes can be used as replacement for double quotes. This is convenient when you need to work with strings inside strings. -
singleQuotes
Whether single quotes can be used as replacement for double quotes. This is convenient when you need to work with strings inside strings. -
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
-