jenkins.plugins.shiningpanda.interpreters
Class CPython

java.lang.Object
  extended by jenkins.plugins.shiningpanda.interpreters.Python
      extended by jenkins.plugins.shiningpanda.interpreters.CPython

public class CPython
extends Python


Constructor Summary
protected CPython(hudson.FilePath home)
          Constructor using fields
 
Method Summary
 Map<String,String> getEnvironment(boolean includeHomeKey)
          Get the environment for this interpreter.
 hudson.FilePath getExecutable()
          Get the PYTHON executable.
 CPython isCPython()
          Is this a CPython implementation?
 
Methods inherited from class jenkins.plugins.shiningpanda.interpreters.Python
fromHome, getEnvironment, getHome, 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
 

Constructor Detail

CPython

protected CPython(hudson.FilePath home)
           throws IOException,
                  InterruptedException
Constructor using fields

Parameters:
home - The home folder
Throws:
InterruptedException
IOException
Method Detail

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.