Interface ScriptEvaluator
-
- All Known Implementing Classes:
AbstractCachingScriptEvaluator,AbstractScriptEvaluator,GroovyScriptEvaluator,Jsr223ScriptEvaluator,VelocityScriptEvaluator
public interface ScriptEvaluator- Author:
- Radovan Semancik
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description <T,V extends PrismValue>
@NotNull List<V>evaluate(ScriptExpressionEvaluationContext context)StringgetLanguageName()Returns human readable name of the language that this evaluator supportsStringgetLanguageUrl()Returns URL of the language that this evaluator can handledefault booleanisInitialized()Can indicate that script evaluator is not initialized, e.g.
-
-
-
Method Detail
-
evaluate
@NotNull <T,V extends PrismValue> @NotNull List<V> evaluate(ScriptExpressionEvaluationContext context) throws ExpressionEvaluationException, ObjectNotFoundException, ExpressionSyntaxException, CommunicationException, ConfigurationException, SecurityViolationException
-
getLanguageName
String getLanguageName()
Returns human readable name of the language that this evaluator supports
-
getLanguageUrl
String getLanguageUrl()
Returns URL of the language that this evaluator can handle
-
isInitialized
default boolean isInitialized()
Can indicate that script evaluator is not initialized, e.g. optional script evaluators (Python) or depending on the JDK platform (JavaScript/ECMAScript).
-
-