public class ConstantLanguage extends Object implements Language, IsSingleton
| Constructor and Description |
|---|
ConstantLanguage() |
| Modifier and Type | Method and Description |
|---|---|
static Expression |
constant(Object value) |
Expression |
createExpression(String expression)
Creates an expression based on the given string input
|
Predicate |
createPredicate(String expression)
Creates a predicate based on the given string input
|
boolean |
isSingleton()
Whether this class supports being singleton or not.
|
public ConstantLanguage()
public static Expression constant(Object value)
public Predicate createPredicate(String expression)
LanguagecreatePredicate in interface Languageexpression - the expressionpublic Expression createExpression(String expression)
LanguagecreateExpression in interface Languageexpression - the expression as a string inputpublic boolean isSingleton()
IsSingletonisSingleton in interface IsSingletonApache Camel