|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjenkins.plugins.shiningpanda.interpreters.Python
public abstract class Python
Constructor Summary | |
---|---|
protected |
Python(hudson.FilePath home)
Constructor using fields |
Method Summary | |
---|---|
static Python |
fromHome(hudson.FilePath home)
Create a PYTHON interpreter from its home folder. |
Map<String,String> |
getEnvironment()
Get the environment for this interpreter with the home variable defined. |
abstract Map<String,String> |
getEnvironment(boolean includeHomeKey)
Get the environment for this interpreter. |
abstract hudson.FilePath |
getExecutable()
Get the PYTHON executable. |
hudson.FilePath |
getHome()
Get the home folder. |
CPython |
isCPython()
Is this a CPython implementation? |
IronPython |
isIronPython()
Is this a IronPython implementation? |
Jython |
isJython()
Is this a JYTHON implementation? |
PyPy |
isPyPy()
Is this a PyPy implementation? |
protected boolean |
isUnix()
Is this PYTHON on UNIX? |
boolean |
isValid()
Check if this is a valid interpreter. |
Virtualenv |
isVirtualenv()
Is this a VIRTUALENV? |
protected boolean |
isWindows()
Is this PYTHON on Windows? |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected Python(hudson.FilePath home) throws IOException, InterruptedException
home
- The home folder
InterruptedException
IOException
Method Detail |
---|
public hudson.FilePath getHome()
public CPython isCPython()
public PyPy isPyPy()
public Jython isJython()
public IronPython isIronPython()
public Virtualenv isVirtualenv()
public boolean isValid() throws IOException, InterruptedException
IOException
InterruptedException
protected boolean isWindows() throws IOException, InterruptedException
IOException
InterruptedException
protected boolean isUnix() throws IOException, InterruptedException
IOException
InterruptedException
public abstract hudson.FilePath getExecutable() throws IOException, InterruptedException
IOException
InterruptedException
public abstract Map<String,String> getEnvironment(boolean includeHomeKey) throws IOException, InterruptedException
includeHomeKey
- If true, add home variable such as PYTHONHOME
IOException
InterruptedException
public Map<String,String> getEnvironment() throws IOException, InterruptedException
IOException
InterruptedException
public static Python fromHome(hudson.FilePath home) throws IOException, InterruptedException
home
- The home folder
IOException
InterruptedException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |