Package org.apache.camel.model.language
Class WasmExpression.Builder
java.lang.Object
org.apache.camel.model.language.TypedExpressionDefinition.AbstractBuilder<WasmExpression.Builder,WasmExpression>
org.apache.camel.model.language.WasmExpression.Builder
- All Implemented Interfaces:
LanguageBuilder<WasmExpression>
- Enclosing class:
WasmExpression
public static class WasmExpression.Builder
extends TypedExpressionDefinition.AbstractBuilder<WasmExpression.Builder,WasmExpression>
Builder
is a specific builder for WasmExpression
.-
Constructor Summary
Constructors -
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 nodeSet the module, the distributable, loadable, and executable unit of code in WebAssembly that provides the expression function.predicate
(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 breaksMethods inherited from class org.apache.camel.model.language.TypedExpressionDefinition.AbstractBuilder
resultType, resultTypeName
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
module
Set the module, the distributable, loadable, and executable unit of code in WebAssembly that provides the expression function. -
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
-