|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecthudson.model.AbstractDescribableImpl<hudson.tools.ToolInstallation>
hudson.tools.ToolInstallation
jenkins.plugins.shiningpanda.tools.PythonInstallation
public class PythonInstallation
Nested Class Summary | |
---|---|
static class |
PythonInstallation.DescriptorImpl
Installation descriptor |
Nested classes/interfaces inherited from class hudson.tools.ToolInstallation |
---|
hudson.tools.ToolInstallation.ToolConverter |
Nested classes/interfaces inherited from interface hudson.ExtensionPoint |
---|
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson |
Constructor Summary | |
---|---|
PythonInstallation(String name,
String home,
List<? extends hudson.tools.ToolProperty<?>> properties)
Constructor using fields. |
Method Summary | |
---|---|
PythonInstallation |
forBuild(hudson.model.TaskListener listener,
hudson.EnvVars environment)
Get the installation for the provided build. |
PythonInstallation |
forEnvironment(hudson.EnvVars environment)
Get the installation for the environment. |
PythonInstallation |
forNode(hudson.model.Node node,
hudson.model.TaskListener listener)
Get the installation for the provided node. |
static PythonInstallation |
fromName(String name)
Get the installation from its name. |
static boolean |
isEmpty()
Check if at least one installation is defined. |
static PythonInstallation[] |
list()
Get the installations. |
Methods inherited from class hudson.tools.ToolInstallation |
---|
all, getHome, getName, getProperties, readResolve, translateFor |
Methods inherited from class hudson.model.AbstractDescribableImpl |
---|
getDescriptor |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
@DataBoundConstructor public PythonInstallation(String name, String home, List<? extends hudson.tools.ToolProperty<?>> properties)
name
- The name of the PYTHONhome
- The home folder for this PYTHONproperties
- The propertiesMethod Detail |
---|
public PythonInstallation forEnvironment(hudson.EnvVars environment)
forEnvironment
in interface hudson.model.EnvironmentSpecific<PythonInstallation>
environment
- The environment
public PythonInstallation forNode(hudson.model.Node node, hudson.model.TaskListener listener) throws IOException, InterruptedException
forNode
in interface hudson.slaves.NodeSpecific<PythonInstallation>
node
- The nodelistener
- The listener
IOException
InterruptedException
public PythonInstallation forBuild(hudson.model.TaskListener listener, hudson.EnvVars environment) throws IOException, InterruptedException
listener
- The build listenerenvironment
- The environment
IOException
InterruptedException
public static boolean isEmpty()
public static PythonInstallation[] list()
public static PythonInstallation fromName(String name)
name
- The name of the installation
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |