Class SingleInputTypedExpressionDefinition.AbstractBuilder<T extends SingleInputTypedExpressionDefinition.AbstractBuilder<T,E>,E extends SingleInputTypedExpressionDefinition>

java.lang.Object
org.apache.camel.model.language.TypedExpressionDefinition.AbstractBuilder<T,E>
org.apache.camel.model.language.SingleInputTypedExpressionDefinition.AbstractBuilder<T,E>
All Implemented Interfaces:
LanguageBuilder<E>
Direct Known Subclasses:
Hl7TerserExpression.Builder, JqExpression.Builder, JsonPathExpression.Builder
Enclosing class:
SingleInputTypedExpressionDefinition

public abstract static class SingleInputTypedExpressionDefinition.AbstractBuilder<T extends SingleInputTypedExpressionDefinition.AbstractBuilder<T,E>,E extends SingleInputTypedExpressionDefinition> extends TypedExpressionDefinition.AbstractBuilder<T,E>
AbstractBuilder is the base builder for typed expression.
  • Constructor Details

    • AbstractBuilder

      public AbstractBuilder()
  • Method Details

    • headerName

      public T headerName(String 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

      public T propertyName(String 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

      public T id(String id)
      Sets the id of this node
    • trim

      public T trim(String trim)
      Whether to trim the value to remove leading and trailing whitespaces and line breaks
    • trim

      public T trim(boolean trim)
      Whether to trim the value to remove leading and trailing whitespaces and line breaks
    • expression

      public T expression(String expression)
      The expression value in your chosen language syntax
    • predicate

      public T predicate(org.apache.camel.Predicate predicate)