Class SimpleBuilder

  • All Implemented Interfaces:
    org.apache.camel.Expression, org.apache.camel.Predicate, org.apache.camel.spi.ExpressionResultTypeAware

    @Deprecated
    public class SimpleBuilder
    extends Object
    implements org.apache.camel.Predicate, org.apache.camel.Expression, org.apache.camel.spi.ExpressionResultTypeAware
    Deprecated.
    Creates a Simple language builder.

    This builder is available in the Java DSL from the RouteBuilder which means that using simple language for Expressions or Predicates is very easy with the help of this builder.

    • Constructor Detail

      • SimpleBuilder

        public SimpleBuilder​(String text)
        Deprecated.
    • Method Detail

      • getText

        public String getText()
        Deprecated.
      • getExpressionText

        public String getExpressionText()
        Deprecated.
        Specified by:
        getExpressionText in interface org.apache.camel.spi.ExpressionResultTypeAware
      • getResultType

        public Class<?> getResultType()
        Deprecated.
        Specified by:
        getResultType in interface org.apache.camel.spi.ExpressionResultTypeAware
      • setResultType

        public void setResultType​(Class<?> resultType)
        Deprecated.
      • evaluate

        public <T> T evaluate​(org.apache.camel.Exchange exchange,
                              Class<T> type)
        Deprecated.
        Specified by:
        evaluate in interface org.apache.camel.Expression
      • matches

        public boolean matches​(org.apache.camel.Exchange exchange)
        Deprecated.
        Specified by:
        matches in interface org.apache.camel.Predicate
      • init

        public void init​(org.apache.camel.CamelContext context)
        Deprecated.
        Specified by:
        init in interface org.apache.camel.Expression
        Specified by:
        init in interface org.apache.camel.Predicate