jenkins.plugins.shiningpanda.interpreters
Class Executable

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

public class Executable
extends Python


Constructor Summary
protected Executable(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.
 Executable isExecutable()
          Is this an executable implementation?
 
Methods inherited from class jenkins.plugins.shiningpanda.interpreters.Python
fromHome, getEnvironment, getHome, isCPython, 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

Executable

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

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

isExecutable

public Executable isExecutable()
Description copied from class: Python
Is this an executable implementation?

Overrides:
isExecutable in class Python
Returns:
true if this is an executable 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.