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 classProvarAutomation.ProvarAutomationInstallation.ConverterImplstatic classProvarAutomation.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 voidbuildEnvVars(EnvVars env)ProvarAutomation.ProvarAutomationInstallationforEnvironment(EnvVars environment)ProvarAutomation.ProvarAutomationInstallationforNode(Node node, TaskListener log)StringgetExecutable(Launcher launcher)Gets the executable path of Provar on the given target system.booleangetExists()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:
buildEnvVarsin classToolInstallation
-
getExecutable
public String getExecutable(Launcher launcher) throws IOException, InterruptedException
Gets the executable path of Provar on the given target system.- Throws:
IOExceptionInterruptedException
-
getExists
public boolean getExists() throws IOException, InterruptedExceptionReturns true if the executable exists.- Throws:
IOExceptionInterruptedException
-
forEnvironment
public ProvarAutomation.ProvarAutomationInstallation forEnvironment(EnvVars environment)
- Specified by:
forEnvironmentin interfaceEnvironmentSpecific<ProvarAutomation.ProvarAutomationInstallation>
-
forNode
public ProvarAutomation.ProvarAutomationInstallation forNode(Node node, TaskListener log) throws IOException, InterruptedException
- Specified by:
forNodein interfaceNodeSpecific<ProvarAutomation.ProvarAutomationInstallation>- Throws:
IOExceptionInterruptedException
-
-