Package io.jenkins.plugins
Class ProvarAutomation.ProvarAutomationInstallation
- java.lang.Object
-
- hudson.model.AbstractDescribableImpl<ToolInstallation>
-
- hudson.tools.ToolInstallation
-
- io.jenkins.plugins.ProvarAutomation.ProvarAutomationInstallation
-
- All Implemented Interfaces:
ExtensionPoint
,Describable<ToolInstallation>
,EnvironmentSpecific<ProvarAutomation.ProvarAutomationInstallation>
,NodeSpecific<ProvarAutomation.ProvarAutomationInstallation>
,Serializable
- Enclosing class:
- ProvarAutomation
public static final class ProvarAutomation.ProvarAutomationInstallation extends ToolInstallation implements EnvironmentSpecific<ProvarAutomation.ProvarAutomationInstallation>, NodeSpecific<ProvarAutomation.ProvarAutomationInstallation>
Represents the Provar installation on the system.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ProvarAutomation.ProvarAutomationInstallation.ConverterImpl
static class
ProvarAutomation.ProvarAutomationInstallation.DescriptorImpl
-
Nested classes/interfaces inherited from class hudson.tools.ToolInstallation
ToolInstallation.ToolConverter
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Constructor Summary
Constructors Constructor Description ProvarAutomationInstallation(String name, String home, List<? extends ToolProperty<?>> properties)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
buildEnvVars(EnvVars env)
ProvarAutomation.ProvarAutomationInstallation
forEnvironment(EnvVars environment)
ProvarAutomation.ProvarAutomationInstallation
forNode(Node node, TaskListener log)
String
getExecutable(Launcher launcher)
Gets the executable path of Provar on the given target system.boolean
getExists()
Returns true if the executable exists.-
Methods inherited from class hudson.tools.ToolInstallation
all, getHome, getName, getProperties, readResolve, toString, translate, translate, translateFor, writeReplace
-
Methods inherited from class hudson.model.AbstractDescribableImpl
getDescriptor
-
-
-
-
Constructor Detail
-
ProvarAutomationInstallation
@DataBoundConstructor public ProvarAutomationInstallation(String name, String home, List<? extends ToolProperty<?>> properties)
-
-
Method Detail
-
buildEnvVars
public void buildEnvVars(EnvVars env)
- Overrides:
buildEnvVars
in classToolInstallation
-
getExecutable
public String getExecutable(Launcher launcher) throws IOException, InterruptedException
Gets the executable path of Provar on the given target system.- Throws:
IOException
InterruptedException
-
getExists
public boolean getExists() throws IOException, InterruptedException
Returns true if the executable exists.- Throws:
IOException
InterruptedException
-
forEnvironment
public ProvarAutomation.ProvarAutomationInstallation forEnvironment(EnvVars environment)
- Specified by:
forEnvironment
in interfaceEnvironmentSpecific<ProvarAutomation.ProvarAutomationInstallation>
-
forNode
public ProvarAutomation.ProvarAutomationInstallation forNode(Node node, TaskListener log) throws IOException, InterruptedException
- Specified by:
forNode
in interfaceNodeSpecific<ProvarAutomation.ProvarAutomationInstallation>
- Throws:
IOException
InterruptedException
-
-