com.liferay.portal.scripting.python
Class PythonExecutor
java.lang.Object
com.liferay.portal.kernel.scripting.BaseScriptingExecutor
com.liferay.portal.scripting.python.PythonExecutor
- All Implemented Interfaces:
- ScriptingExecutor
public class PythonExecutor
- extends BaseScriptingExecutor
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PythonExecutor
public PythonExecutor()
clearCache
public void clearCache()
- Specified by:
clearCache
in interface ScriptingExecutor
- Overrides:
clearCache
in class BaseScriptingExecutor
eval
public Map<String,Object> eval(Set<String> allowedClasses,
Map<String,Object> inputObjects,
Set<String> outputNames,
String script,
ClassLoader... classLoaders)
throws ScriptingException
- Throws:
ScriptingException
getLanguage
public String getLanguage()
getCompiledScript
protected org.python.core.PyCode getCompiledScript(String script)