public interface IScriptManager
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getAllAvailableLanguages()
Get a a list with all the available script languages.
|
Hashtable<String,ScriptEngineFactory> |
getAllAvailableScriptFactories()
Get all the available
ScriptEngineFactory in the build path |
List<ScriptAction> |
getEntityScripts(List<String> entityNames) |
List<ScriptAction> |
getEntityScripts(String entityName) |
ScriptEngineFactory |
getFactoryInstance(String type)
Get the instance of the
ScriptEngineFactory for the specified
script language |
List<ScriptAction> |
getFormScripts(String formName,
String imanagerClassName) |
ScriptEngine |
getScriptEngineInstance(String type)
Get the instance of the
ScriptEngineFactory for the specified
script language Script language. |
boolean |
isUseScriptingCache()
Return true if the ScriptManager is using a cache for the scripts
|
void |
setUseScriptingCache(boolean useCache)
Set if the ScriptManager must use a cache for the scripts or not
|
Hashtable<String,ScriptEngineFactory> getAllAvailableScriptFactories()
ScriptEngineFactory in the build pathList<String> getAllAvailableLanguages()
getAllAvailableScriptFactories()ScriptEngineFactory getFactoryInstance(String type)
ScriptEngineFactory for the specified
script languagetype - Script language. This name must be in the list returned by
getAllAvailableLanguages()ScriptEngine getScriptEngineInstance(String type)
ScriptEngineFactory for the specified
script language Script language. This name must be in the list returned
by getAllAvailableLanguages()type - void setUseScriptingCache(boolean useCache)
useCache - boolean isUseScriptingCache()
List<ScriptAction> getFormScripts(String formName, String imanagerClassName) throws Exception
ExceptionList<ScriptAction> getEntityScripts(String entityName) throws Exception
ExceptionCopyright © 2016 Imatia Innovation S.L.. All rights reserved.