Class SimpleExpressionUtil
java.lang.Object
com.evolveum.midpoint.schema.util.SimpleExpressionUtil
Very simple expression utils. More advanced ones are to be found in upper layers.
EXPERIMENTAL. Later will be reconsidered.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Object
getConstantIfPresent
(ExpressionType expression) static ExpressionType
groovyExpression
(String groovyCode) CreatesExpressionType
with specified Groovy code.static ExpressionType
literalExpression
(Object literalValue) static ExpressionType
scriptExpression
(String languageUrl, String code) CreatesExpressionType
with script for specific language and with specified code.static ExpressionType
velocityExpression
(String velocityTemplate) CreatesExpressionType
for specified Velocity template.
-
Constructor Details
-
SimpleExpressionUtil
public SimpleExpressionUtil()
-
-
Method Details
-
getConstantIfPresent
-
velocityExpression
CreatesExpressionType
for specified Velocity template. -
groovyExpression
CreatesExpressionType
with specified Groovy code. -
scriptExpression
CreatesExpressionType
with script for specific language and with specified code. -
literalExpression
-