@Incubating public interface ScriptEvaluatorFactory
ScriptEvaluator
s required to evaluate script expressions defined in
ScriptAssert
and ParameterScriptAssert
constraints.Modifier and Type | Method and Description |
---|---|
void |
clear()
Clear the state of the factory.
|
ScriptEvaluator |
getScriptEvaluatorByLanguageName(String languageName)
Retrieves a script evaluator
ScriptEvaluator for the given language. |
ScriptEvaluator getScriptEvaluatorByLanguageName(String languageName)
ScriptEvaluator
for the given language.languageName
- the name of a scripting languageScriptEvaluatorNotFoundException
- in case no ScriptEvaluator
was
found for a given languageName
.void clear()
Called when the ValidatorFactory
is closed.
Copyright © 2020 JBoss by Red Hat. All rights reserved.