Package org.apache.camel.model.language
Class JoorExpression
java.lang.Object
org.apache.camel.model.language.ExpressionDefinition
org.apache.camel.model.language.TypedExpressionDefinition
org.apache.camel.model.language.JoorExpression
- All Implemented Interfaces:
org.apache.camel.Expression
,org.apache.camel.ExpressionFactory
,HasExpressionType
,org.apache.camel.Predicate
,org.apache.camel.PredicateFactory
,org.apache.camel.spi.ExpressionFactoryAware
,org.apache.camel.spi.PredicateFactoryAware
@Metadata(firstVersion="3.7.0",
label="language",
title="jOOR")
public class JoorExpression
extends TypedExpressionDefinition
Evaluates a jOOR (Java compiled once at runtime) expression.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.camel.model.language.TypedExpressionDefinition
TypedExpressionDefinition.AbstractBuilder<T extends TypedExpressionDefinition.AbstractBuilder<T,
E>, E extends TypedExpressionDefinition> -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
setPreCompile
(String preCompile) Whether the expression should be pre compiled once during initialization phase.void
setSingleQuotes
(String singleQuotes) Whether single quotes can be used as replacement for double quotes.Methods inherited from class org.apache.camel.model.language.TypedExpressionDefinition
getResultType, getResultTypeName, setResultType, setResultTypeName
Methods inherited from class org.apache.camel.model.language.ExpressionDefinition
createExpression, createPredicate, evaluate, getExpression, getExpressionFactory, getExpressionType, getExpressionValue, getId, getLabel, getLabel, getPredicate, getPredicateFactory, getTrim, init, initPredicate, matches, setExpression, setExpressionType, setExpressionValue, setId, setTrim, toString
-
Constructor Details
-
JoorExpression
public JoorExpression() -
JoorExpression
-
-
Method Details
-
getLanguage
- Overrides:
getLanguage
in classExpressionDefinition
-
getPreCompile
-
setPreCompile
Whether the expression should be pre compiled once during initialization phase. If this is turned off, then the expression is reloaded and compiled on each evaluation. -
getSingleQuotes
-
setSingleQuotes
Whether single quotes can be used as replacement for double quotes. This is convenient when you need to work with strings inside strings.
-