| Package | Description |
|---|---|
| de.aristaflow.adept2.core.orgmodelmanager | |
| de.aristaflow.adept2.model.scripts |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
OrgPolicyScriptHandler.evaluateScript(SessionToken session,
Script script)
Evaluates the given script and returns the generated org policy.
|
java.util.List<java.lang.String> |
OrgPolicyScriptHandler.validateScript(Script script)
Tries to validate the script as far as possible without actually evaluating
it.
|
| Modifier and Type | Method and Description |
|---|---|
static Script |
ScriptTools.parseScriptDeclaration(java.lang.String script)
Parses the given script declaration in its string form and returns it as
object where the components are easily accessible.
|
static Script |
ScriptTools.parseScriptDeclaration(java.lang.String script,
boolean paramRefsAllowed)
Parses the given script declaration in its string form and returns it as
object where the components are easily accessible.
|
static Script |
ScriptTools.resolveParameterReferences(Script script,
java.util.Map<java.lang.String,java.io.Serializable> paramValues)
Resolves the parameter references of the given script using the available
values.
|
| Modifier and Type | Method and Description |
|---|---|
static boolean |
ScriptTools.containsParameterReferences(Script script)
Returns whether the given script contains parameter references.
|
static Script |
ScriptTools.resolveParameterReferences(Script script,
java.util.Map<java.lang.String,java.io.Serializable> paramValues)
Resolves the parameter references of the given script using the available
values.
|
| Constructor and Description |
|---|
ScriptEnvironmentException(Script script,
java.lang.String message)
Creates a new script environment exception for the designated script
declaration and the designated additional message.
|
ScriptEnvironmentException(Script script,
java.lang.String message,
java.lang.Throwable cause)
Creates a new script environment exception for the designated script
declaration, the designated additional message and the cause.
|
ScriptEvaluationException(Script script,
java.lang.String message)
Creates a new script evaluation exception for the designated script
declaration and the designated additional message.
|
ScriptEvaluationException(Script script,
java.lang.String message,
java.lang.Throwable cause)
Creates a new script evaluation exception for the designated script
declaration, the designated additional message and the cause.
|
ScriptException(Script script,
java.lang.String message)
Creates a new script exception for the designated script declaration and
the designated additional message.
|
ScriptException(Script script,
java.lang.String message,
java.lang.Throwable cause)
Creates a new script exception for the designated script declaration, the
designated additional message and the cause.
|