public class StandardScriptValidator extends Object implements ScriptValidator
ScriptError
s.Constructor and Description |
---|
StandardScriptValidator(StandardScriptEngineManager scriptEngineManager)
Constructs the script validator using the given JSR 223 script engine manager instance.
|
Modifier and Type | Method and Description |
---|---|
List<ScriptError> |
validateScript(ScriptObject script)
Validate the given script for the particular language rules and produces a list of
ScriptError instances if any validation errors occurred. |
@Inject public StandardScriptValidator(StandardScriptEngineManager scriptEngineManager)
scriptEngineManager
- the script engine manager to use for creating script engines.NullPointerException
- if scriptEngineManager is not specified.public List<ScriptError> validateScript(ScriptObject script)
ScriptError
instances if any validation errors occurred.validateScript
in interface ScriptValidator
script
- the script that needs to be validated.Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.