Interface IPythonSideEngine
public interface IPythonSideEngine
Main entry point for Py4J on Python side.
-
Method Summary
Modifier and Type Method Description IInteractiveReturnexecuteInteractive(String codeText)Execute a block of code on the target as an interactive line.IInteractiveReturnexecuteScript(String codeText, String filename)Execute a block of code on the target as a script.ObjectinternalGetVariable(String name)Map<String,Object>internalGetVariables()booleaninternalHasVariable(String name)voidinternalSetVariable(String name, Object content)voidteardownEngine()Tear down the Python side of the engine
-
Method Details
-
executeScript
Execute a block of code on the target as a script.- Throws:
Throwable
-
executeInteractive
Execute a block of code on the target as an interactive line.- Throws:
Throwable
-
internalGetVariable
- See Also:
AbstractScriptEngine.internalGetVariable(String)
-
internalGetVariables
- See Also:
AbstractScriptEngine.internalGetVariables()
-
internalHasVariable
- See Also:
AbstractScriptEngine.internalHasVariable(String)
-
internalSetVariable
- See Also:
AbstractScriptEngine.internalSetVariable(String, Object)
-
teardownEngine
void teardownEngine()Tear down the Python side of the engine
-