| Package | Description |
|---|---|
| org.cristalise.kernel.lifecycle.instance | |
| org.cristalise.kernel.process.module | |
| org.cristalise.kernel.scripting |
| Modifier and Type | Method and Description |
|---|---|
protected Object |
WfVertex.evaluateScript(String scriptName,
Integer scriptVersion,
ItemPath itemPath,
Object locker) |
| Modifier and Type | Method and Description |
|---|---|
Script |
ModuleEmbeddedScript.getScript(String ns,
AgentProxy agent) |
void |
Module.runScript(String event,
AgentProxy agent,
boolean isServer) |
| Modifier and Type | Class and Description |
|---|---|
class |
ParameterException |
class |
ScriptLoadingException |
class |
ScriptParsingException |
| Modifier and Type | Method and Description |
|---|---|
Object |
Script.evaluate(ItemPath itemPath,
CastorHashMap inputProps,
String actContext,
Object locker)
Reads and evaluates input properties, set input parameters from those properties and executes the Script
|
Object |
Script.execute()
Executes the script with the submitted parameters.
|
static Script |
Script.getScript(String name,
Integer version)
Resolves the Script object using its name and version.
|
void |
Script.setActExecEnvironment(ItemProxy object,
AgentProxy subject,
Job job)
Adds ItemProxy (object), AgentProxy (subject) and Job to the script input parameters and errors to the output parameters
even if these are not defined in the Script XML
|
void |
Script.setScriptEngine(String requestedLang)
Sets the language
|
| Constructor and Description |
|---|
Script(String lang,
String expr)
Creates a script executor for the supplied expression, bypassing the xml parsing bit
Output class is forced to an object.
|
Script(String lang,
String expr,
Class<?> returnType)
Creates a script executor for the supplied expression, bypassing the xml parsing bit
|
Script(String lang,
String name,
String expr,
AgentProxy agent)
Creates a script executor requiring an agent to be set.
|
Copyright © 1997–2019 CRISTAL-iSE. All rights reserved.