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, WAITING
TRACE_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, terminate
addJobChangeListener, 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, yieldRule
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
getName, schedule
public static final String ENGINE_ID
public void pythonStartupComplete(int pythonPort, IPythonSideEngine pythonSideEngine)
public void terminateCurrent()
IScriptEngine
public String getSaveVariableName(String name)
IScriptEngine
name
- variable name candidatepublic void registerJar(URL url)
IScriptEngine
url
- url to load jar file frompublic <T> T getAdapter(Class<T> adapter)
getAdapter
in interface IAdaptable
getAdapter
in class PlatformObject