public class Py4jScriptEngine extends AbstractScriptEngine
| Modifier and Type | Field and Description |
|---|---|
static String |
ENGINE_ID
The ID of the Engine, to match the declaration in the plugin.xml
|
ASYNC_FINISH, BUILD, DECORATE, INTERACTIVE, LONG, NONE, RUNNING, SHORT, SLEEPING, WAITINGTRACE_SCRIPT_ENGINE| Constructor and Description |
|---|
Py4jScriptEngine() |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
getAdapter(Class<T> adapter) |
String |
getSaveVariableName(String name)
Return a save name to be used for a variable.
|
void |
pythonStartupComplete(int pythonPort,
IPythonSideEngine pythonSideEngine) |
void |
registerJar(URL url)
Register a jar file and add it to the classpath.
|
void |
terminateCurrent()
Stops the currently executed piece of code.
|
addExecutionListener, addSecurityCheck, executeAsync, executeSync, extractArguments, getCurrentScriptEngine, getDescription, getErrorStream, getExecutedFile, getInputStream, getOutputStream, getStackTrace, getTerminateOnIdle, getVariable, getVariables, hasVariable, inject, injectUI, isFinished, isIdle, join, removeExecutionListener, removeSecurityCheck, removeVariable, setCloseStreamsOnTerminate, setEngineDescription, setErrorStream, setInputStream, setOutputStream, setTerminateOnIdle, setVariable, terminateaddJobChangeListener, belongsTo, cancel, create, create, createSystem, createSystem, done, getJobGroup, getJobManager, getName, getPriority, getProperty, getResult, getRule, getState, getThread, isBlocking, isSystem, isUser, join, join, removeJobChangeListener, schedule, schedule, setJobGroup, setName, setPriority, setProgressGroup, setProperty, setRule, setSystem, setThread, setUser, shouldRun, shouldSchedule, sleep, toString, wakeUp, wakeUp, yieldRuleequals, getClass, hashCode, notify, notifyAll, wait, wait, waitgetName, schedulepublic static final String ENGINE_ID
public void pythonStartupComplete(int pythonPort,
IPythonSideEngine pythonSideEngine)
public void terminateCurrent()
IScriptEnginepublic String getSaveVariableName(String name)
IScriptEnginename - variable name candidatepublic void registerJar(URL url)
IScriptEngineurl - url to load jar file frompublic <T> T getAdapter(Class<T> adapter)
getAdapter in interface IAdaptablegetAdapter in class PlatformObject