public class Py4jScriptEngine extends AbstractReplScriptEngine
Modifier and Type | Field and Description |
---|---|
static java.lang.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(java.lang.Class<T> adapter) |
void |
pythonStartupComplete(int pythonPort,
IPythonSideEngine pythonSideEngine) |
void |
registerJar(java.net.URL url)
Register a jar file and add it to the classpath.
|
void |
terminateCurrent()
Stops the currently executed piece of code.
|
getDefinedVariables, getLastExecutionResult, getTerminateOnIdle, getType, isIdle, setTerminateOnIdle, terminate, toString
addExecutionListener, addSecurityCheck, executeAsync, executeSync, extractArguments, getCurrentScriptEngine, getDescription, getErrorStream, getExecutedFile, getInputStream, getOutputStream, getStackTrace, getVariable, getVariables, hasVariable, inject, injectUI, isFinished, join, removeExecutionListener, removeSecurityCheck, setCloseStreamsOnTerminate, setEngineDescription, setErrorStream, setExecutionRootFile, setInputStream, setOutputStream, setVariable
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
addExecutionListener, addSecurityCheck, executeAsync, executeSync, getDescription, getErrorStream, getExecutedFile, getInputStream, getName, getOutputStream, getVariable, getVariables, hasVariable, inject, injectUI, isFinished, join, removeExecutionListener, removeSecurityCheck, schedule, setCloseStreamsOnTerminate, setErrorStream, setInputStream, setOutputStream, setVariable
public static final java.lang.String ENGINE_ID
public void pythonStartupComplete(int pythonPort, IPythonSideEngine pythonSideEngine)
public void terminateCurrent()
IScriptEngine
public void registerJar(java.net.URL url)
IScriptEngine
url
- url to load jar file frompublic <T> T getAdapter(java.lang.Class<T> adapter)
getAdapter
in interface IAdaptable
getAdapter
in class PlatformObject