Package org.apache.camel.builder
Class SimpleBuilder
- java.lang.Object
-
- org.apache.camel.builder.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 theRouteBuilderwhich means that using simple language forExpressions orPredicates is very easy with the help of this builder.
-
-
Constructor Summary
Constructors Constructor Description SimpleBuilder(String text)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description <T> Tevaluate(org.apache.camel.Exchange exchange, Class<T> type)Deprecated.StringgetExpressionText()Deprecated.Class<?>getResultType()Deprecated.StringgetText()Deprecated.voidinit(org.apache.camel.CamelContext context)Deprecated.booleanmatches(org.apache.camel.Exchange exchange)Deprecated.SimpleBuilderresultType(Class<?> resultType)Deprecated.voidsetResultType(Class<?> resultType)Deprecated.static SimpleBuildersimple(String text)Deprecated.static SimpleBuildersimple(String text, Class<?> resultType)Deprecated.static SimpleBuildersimpleF(String formatText, Class<?> resultType, Object... values)Deprecated.static SimpleBuildersimpleF(String formatText, Object... values)Deprecated.StringtoString()Deprecated.
-
-
-
Constructor Detail
-
SimpleBuilder
public SimpleBuilder(String text)
Deprecated.
-
-
Method Detail
-
simple
public static SimpleBuilder simple(String text)
Deprecated.
-
simple
public static SimpleBuilder simple(String text, Class<?> resultType)
Deprecated.
-
simpleF
public static SimpleBuilder simpleF(String formatText, Object... values)
Deprecated.
-
simpleF
public static SimpleBuilder simpleF(String formatText, Class<?> resultType, Object... values)
Deprecated.
-
getText
public String getText()
Deprecated.
-
getExpressionText
public String getExpressionText()
Deprecated.- Specified by:
getExpressionTextin interfaceorg.apache.camel.spi.ExpressionResultTypeAware
-
getResultType
public Class<?> getResultType()
Deprecated.- Specified by:
getResultTypein interfaceorg.apache.camel.spi.ExpressionResultTypeAware
-
setResultType
public void setResultType(Class<?> resultType)
Deprecated.
-
resultType
public SimpleBuilder resultType(Class<?> resultType)
Deprecated.
-
evaluate
public <T> T evaluate(org.apache.camel.Exchange exchange, Class<T> type)Deprecated.- Specified by:
evaluatein interfaceorg.apache.camel.Expression
-
matches
public boolean matches(org.apache.camel.Exchange exchange)
Deprecated.- Specified by:
matchesin interfaceorg.apache.camel.Predicate
-
init
public void init(org.apache.camel.CamelContext context)
Deprecated.- Specified by:
initin interfaceorg.apache.camel.Expression- Specified by:
initin interfaceorg.apache.camel.Predicate
-
-