| 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(CastorHashMap inputProps)
Use this when a Script is executed without an Item or Transaction context
|
Object |
Script.evaluate(ItemPath itemPath,
CastorHashMap inputProps,
String actContext,
boolean actExecEnv,
Object locker)
Reads and evaluates input properties, set input parameters from those properties and executes the Script
|
Object |
Script.evaluate(ItemPath itemPath,
CastorHashMap inputProps,
String actContext,
Object locker) |
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.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.