|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.dawb.common.python.Python
public class Python
Class deals with calling python jobs on any thread to the same interpreter. This class contains a single thread which is running and the class can be used inside or outside the eclipse framework.
| Constructor Summary | |
|---|---|
Python()
|
|
| Method Summary | |
|---|---|
static void |
asyncExec(PythonCommand command)
Run a python command in the current interpreter. |
static void |
execInThread(PythonCommand cmd)
Starts a specific thread for the jepp instance to use |
static boolean |
isActive()
|
static void |
runCommand(PythonCommand cmd)
Run using a new Jepp in the current thead. |
static void |
syncExec(PythonCommand command)
Run a python command in the current interpreter. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Python()
| Method Detail |
|---|
public static void syncExec(PythonCommand command)
throws java.lang.IllegalStateException,
java.lang.InterruptedException
command -
java.lang.IllegalStateException
java.lang.InterruptedException
public static void asyncExec(PythonCommand command)
throws java.lang.IllegalStateException,
java.lang.InterruptedException
command -
java.lang.IllegalStateException
java.lang.InterruptedException
public static void runCommand(PythonCommand cmd)
throws jep.JepException
cmd -
jep.JepExceptionpublic static boolean isActive()
public static void execInThread(PythonCommand cmd)
throws java.lang.InterruptedException
pythonCommand -
java.lang.InterruptedException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||