Package io.jenkins.plugins.generic_tool
Class GenericToolInstallation
- java.lang.Object
-
- hudson.model.AbstractDescribableImpl<ToolInstallation>
-
- hudson.tools.ToolInstallation
-
- io.jenkins.plugins.generic_tool.GenericToolInstallation
-
- All Implemented Interfaces:
ExtensionPoint
,Describable<ToolInstallation>
,EnvironmentSpecific<GenericToolInstallation>
,NodeSpecific<GenericToolInstallation>
,Serializable
public class GenericToolInstallation extends ToolInstallation implements NodeSpecific<GenericToolInstallation>, EnvironmentSpecific<GenericToolInstallation>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GenericToolInstallation.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 GenericToolInstallation(String name, String home, List<? extends ToolProperty<?>> properties)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GenericToolInstallation
forEnvironment(EnvVars environment)
GenericToolInstallation
forNode(Node node, TaskListener log)
-
Methods inherited from class hudson.tools.ToolInstallation
all, buildEnvVars, getHome, getName, getProperties, readResolve, toString, translate, translate, translateFor, writeReplace
-
Methods inherited from class hudson.model.AbstractDescribableImpl
getDescriptor
-
-
-
-
Constructor Detail
-
GenericToolInstallation
@DataBoundConstructor public GenericToolInstallation(String name, String home, List<? extends ToolProperty<?>> properties)
-
-
Method Detail
-
forEnvironment
public GenericToolInstallation forEnvironment(EnvVars environment)
- Specified by:
forEnvironment
in interfaceEnvironmentSpecific<GenericToolInstallation>
-
forNode
public GenericToolInstallation forNode(@NonNull Node node, TaskListener log) throws IOException, InterruptedException
- Specified by:
forNode
in interfaceNodeSpecific<GenericToolInstallation>
- Throws:
IOException
InterruptedException
-
-