public interface OrgPolicyScriptHandler
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
evaluateScript(SessionToken session,
Script script)
Evaluates the given script and returns the generated org policy.
|
java.util.List<java.lang.String> |
validateScript(Script script)
Tries to validate the script as far as possible without actually evaluating
it.
|
java.util.List<java.lang.String> validateScript(Script script)
script - the script to be validatedjava.lang.String evaluateScript(SessionToken session, Script script) throws ScriptEnvironmentException, ScriptEvaluationException
session - the session tokenscript - the script to be evaluatedScriptEnvironmentException - if an error occurred during the
preparation of the script environment that is not directly caused
by the executed scriptScriptEvaluationException - if an error occurred during the actual
evaluation of the script