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 theRouteBuilder
which means that using simple language forExpression
s orPredicate
s 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> T
evaluate(org.apache.camel.Exchange exchange, Class<T> type)
Deprecated.String
getExpressionText()
Deprecated.Class<?>
getResultType()
Deprecated.String
getText()
Deprecated.void
init(org.apache.camel.CamelContext context)
Deprecated.boolean
matches(org.apache.camel.Exchange exchange)
Deprecated.SimpleBuilder
resultType(Class<?> resultType)
Deprecated.void
setResultType(Class<?> resultType)
Deprecated.static SimpleBuilder
simple(String text)
Deprecated.static SimpleBuilder
simple(String text, Class<?> resultType)
Deprecated.static SimpleBuilder
simpleF(String formatText, Class<?> resultType, Object... values)
Deprecated.static SimpleBuilder
simpleF(String formatText, Object... values)
Deprecated.String
toString()
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:
getExpressionText
in interfaceorg.apache.camel.spi.ExpressionResultTypeAware
-
getResultType
public Class<?> getResultType()
Deprecated.- Specified by:
getResultType
in 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:
evaluate
in interfaceorg.apache.camel.Expression
-
matches
public boolean matches(org.apache.camel.Exchange exchange)
Deprecated.- Specified by:
matches
in interfaceorg.apache.camel.Predicate
-
init
public void init(org.apache.camel.CamelContext context)
Deprecated.- Specified by:
init
in interfaceorg.apache.camel.Expression
- Specified by:
init
in interfaceorg.apache.camel.Predicate
-
-