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:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classNested classes/interfaces inherited from class hudson.tools.ToolInstallation
ToolInstallation.ToolConverterNested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Constructor Summary
ConstructorsConstructorDescriptionProvarAutomationInstallation(String name, String home, List<? extends ToolProperty<?>> properties) -
Method Summary
Modifier and TypeMethodDescriptionvoidbuildEnvVars(EnvVars env) forEnvironment(EnvVars environment) forNode(Node node, TaskListener log) getExecutable(Launcher launcher) Gets the executable path of Provar on the given target system.booleanReturns true if the executable exists.Methods inherited from class hudson.tools.ToolInstallation
all, getHome, getName, getProperties, readResolve, toString, translate, translate, translateFor, writeReplaceMethods inherited from class hudson.model.AbstractDescribableImpl
getDescriptor
-
Constructor Details
-
ProvarAutomationInstallation
@DataBoundConstructor public ProvarAutomationInstallation(String name, String home, List<? extends ToolProperty<?>> properties)
-
-
Method Details
-
buildEnvVars
- Overrides:
buildEnvVarsin classToolInstallation
-
getExecutable
Gets the executable path of Provar on the given target system.- Throws:
IOExceptionInterruptedException
-
getExists
Returns true if the executable exists.- Throws:
IOExceptionInterruptedException
-
forEnvironment
- 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
-