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 SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic ObjectgetConstantIfPresent(ExpressionType expression) static ExpressionTypegroovyExpression(String groovyCode) CreatesExpressionTypewith specified Groovy code.static ExpressionTypeliteralExpression(Object literalValue) static ExpressionTypescriptExpression(String languageUrl, String code) CreatesExpressionTypewith script for specific language and with specified code.static ExpressionTypevelocityExpression(String velocityTemplate) CreatesExpressionTypefor specified Velocity template.
- 
Constructor Details- 
SimpleExpressionUtilpublic SimpleExpressionUtil()
 
- 
- 
Method Details- 
getConstantIfPresent
- 
velocityExpressionCreatesExpressionTypefor specified Velocity template.
- 
groovyExpressionCreatesExpressionTypewith specified Groovy code.
- 
scriptExpressionCreatesExpressionTypewith script for specific language and with specified code.
- 
literalExpression
 
-