jenkins.plugins.shiningpanda.interpreters
Class CPython
java.lang.Object
jenkins.plugins.shiningpanda.interpreters.Python
jenkins.plugins.shiningpanda.interpreters.CPython
public class CPython
- extends Python
Constructor Summary |
protected |
CPython(hudson.FilePath home)
Constructor using fields |
Methods inherited from class jenkins.plugins.shiningpanda.interpreters.Python |
fromHome, getEnvironment, getHome, isExecutable, isIronPython, isJython, isPyPy, isUnix, isValid, isVirtualenv, isWindows |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CPython
protected CPython(hudson.FilePath home)
throws IOException,
InterruptedException
- Constructor using fields
- Parameters:
home
- The home folder
- Throws:
InterruptedException
IOException
isCPython
public CPython isCPython()
- Description copied from class:
Python
- Is this a CPython implementation?
- Overrides:
isCPython
in class Python
- Returns:
- true if this is a CPython implementation, else false
getExecutable
public hudson.FilePath getExecutable()
throws IOException,
InterruptedException
- Description copied from class:
Python
- Get the PYTHON executable.
- Specified by:
getExecutable
in class Python
- Returns:
- The executable file if exists, else null
- Throws:
IOException
InterruptedException
getEnvironment
public Map<String,String> getEnvironment(boolean includeHomeKey)
throws IOException,
InterruptedException
- Description copied from class:
Python
- Get the environment for this interpreter.
- Specified by:
getEnvironment
in class Python
- Parameters:
includeHomeKey
- If true, add home variable such as PYTHONHOME
- Returns:
- The environment
- Throws:
IOException
InterruptedException
Copyright © 2004-2012. All Rights Reserved.