public class Executable extends Python
Modifier | Constructor and Description |
---|---|
protected |
Executable(hudson.FilePath home)
Constructor using fields.
|
Modifier and Type | Method and Description |
---|---|
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?
|
fromHome, getEnvironment, getHome, isCPython, isIronPython, isJython, isPyPy, isUnix, isValid, isVirtualenv, isWindows
protected Executable(hudson.FilePath home) throws IOException, InterruptedException
home
- The executableInterruptedException
IOException
public Executable isExecutable()
Python
isExecutable
in class Python
public hudson.FilePath getExecutable() throws IOException, InterruptedException
Python
getExecutable
in class Python
IOException
InterruptedException
public Map<String,String> getEnvironment(boolean includeHomeKey) throws IOException, InterruptedException
Python
getEnvironment
in class Python
includeHomeKey
- If true, add home variable such as PYTHONHOMEIOException
InterruptedException
Copyright © 2004-2018. All Rights Reserved.