StartScriptConfig
Configuration object for script executions.
Methods
getAlias
getAlias():
string
Returns the specified alias used for this script.
If set to null (default) the current context alias is used.
Returns
stringthe alias specified used for the script, or null if not set.
getIdentifier
getIdentifier():
string
Returns the specified identifier used to recognize the executed script.
Returns
stringthe identifier used for the executed script.
getLocalVariables
getLocalVariables():
any
Returns the set local variables for the process execution.
Returns
anya map with variables (key, value only string), or null if not set.
getScript
getScript():
string
Returns the specified code to be executed as string.
Returns
stringthe specified code to be executed, or null if not set.
setAlias
setAlias(
pAlias):StartScriptConfig
The alias to be used for the script; 'null' for the current context alias.
Parameters
string | number | booleanReturns
StartScriptConfigsetIdentifier
setIdentifier(
pIdentifier):StartScriptConfig
An identifier that can be used to recognize the script
Parameters
string | number | booleanReturns
StartScriptConfigsetLocalVariables
setLocalVariables(
pLocalVariables):StartScriptConfig
Sets the local variables that are passed to the process during execution.
Parameters
anyA map with variables (key, value only string) that are passed to the process as $local variables. The name of the corresponding variable in the process is then $local.[key]. null if you do not want to pass variables.
Returns
StartScriptConfigStartScriptConfig
setScript
setScript(
pScript):StartScriptConfig
The code to be executed. Imports within the script must be separated by "\r\n".
Parameters
string | number | booleanReturns
StartScriptConfig