public interface ScriptingEngine
| Modifier and Type | Method and Description |
|---|---|
AnyMap |
callScript(java.lang.String scriptFunction,
AnyMap arguments)
Processes given map object using the specified script function.
|
Record |
callScript(java.lang.String scriptFunction,
Record record)
Processes given record using the specified script function.
|
ScriptExecutor |
getScriptExecutor()
Creates a new script executor.
|
java.util.Collection<java.lang.String> |
listScriptNames()
get the list of the names of all scripts.
|
AnySeq |
listScripts()
get the list of script descriptions.
|
AnySeq listScripts() throws ScriptingEngineException
ScriptingEngineException - failed to determine available scripts.java.util.Collection<java.lang.String> listScriptNames()
throws ScriptingEngineException
ScriptingEngineException - failed to determine available scripts.Record callScript(java.lang.String scriptFunction, Record record) throws ScriptingEngineException
scriptFunction - name of script function to use for processing. ("script.function")record - record to process.ScriptingEngineException - error processing the record.AnyMap callScript(java.lang.String scriptFunction, AnyMap arguments) throws ScriptingEngineException
scriptFunction - name of script function to use for processing. ("script.function")arguments - object to process.ScriptingEngineException - error processing the record.ScriptExecutor getScriptExecutor() throws ScriptingEngineException
ScriptingEngineException - error creating the executor.