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

java.lang.Object
org.apache.camel.model.language.ExpressionDefinition.AbstractBuilder<T,E>
All Implemented Interfaces:
LanguageBuilder<E>
Direct Known Subclasses:
ExchangePropertyExpression.Builder, HeaderExpression.Builder, LanguageExpression.Builder, TypedExpressionDefinition.AbstractBuilder, VariableExpression.Builder
Enclosing class:
ExpressionDefinition

protected abstract static class ExpressionDefinition.AbstractBuilder<T extends ExpressionDefinition.AbstractBuilder<T,E>,E extends ExpressionDefinition> extends Object implements LanguageBuilder<E>
AbstractBuilder is the base expression builder.
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
     
  • Method Summary

    Modifier and Type
    Method
    Description
    expression(String expression)
    The expression value in your chosen language syntax
    id(String id)
    Sets the id of this node
    predicate(org.apache.camel.Predicate predicate)
     
    trim(boolean trim)
    Whether to trim the value to remove leading and trailing whitespaces and line breaks
    trim(String trim)
    Whether to trim the value to remove leading and trailing whitespaces and line breaks

    Methods 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

      protected AbstractBuilder()
  • Method Details

    • 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)