public interface ScriptDriver
| Modifier and Type | Method and Description | 
|---|---|
| boolean | allowImplicitParams() | 
| boolean | canRun(java.lang.String scriptLang)Verify if the driver can support script language  scriptLang | 
| java.util.Map<java.lang.String,ScriptEngineInfo> | getSupportedEngines() | 
| boolean | isBinaryScript() | 
| boolean | isVarNameMatchesKeyWord(java.lang.String varName) | 
| java.util.List<ScriptParamInfo> | parseScriptForParams(byte[] scriptBytes) | 
| boolean | preCompileScript(ScriptInfo scriptInfo)Precompiles the script | 
| void | releaseResources()Call back method to release driver resources before the driver gets gced. | 
| void | releaseResources(java.lang.String scriptName)Call back method to release driver resources before the driver gets gced. | 
| void | runScript(java.lang.String name,
         java.util.Map<java.lang.String,java.lang.Object> context)Executes the script identified by  name | 
| boolean | supportsPublishedParams() | 
void runScript(java.lang.String name,
             java.util.Map<java.lang.String,java.lang.Object> context)
               throws MXException,
                      java.rmi.RemoteException
namename - - the name of the script to executecontext - - the execution context for the script runtimeMXExceptionjava.rmi.RemoteExceptionboolean canRun(java.lang.String scriptLang)
scriptLangscriptLang - the script languagevoid releaseResources()
void releaseResources(java.lang.String scriptName)
boolean preCompileScript(ScriptInfo scriptInfo) throws MXApplicationException
scriptInfo - - the ScriptInfo object for the scriptMXExceptionjava.rmi.RemoteExceptionMXApplicationExceptionjava.util.Map<java.lang.String,ScriptEngineInfo> getSupportedEngines()
boolean isBinaryScript()
java.util.List<ScriptParamInfo> parseScriptForParams(byte[] scriptBytes) throws MXException
MXExceptionboolean isVarNameMatchesKeyWord(java.lang.String varName)
boolean supportsPublishedParams()
boolean allowImplicitParams()