Class DependencyCheckInstallation
java.lang.Object
hudson.model.AbstractDescribableImpl<ToolInstallation>
hudson.tools.ToolInstallation
org.jenkinsci.plugins.DependencyCheck.tools.DependencyCheckInstallation
- All Implemented Interfaces:
ExtensionPoint
,Describable<ToolInstallation>
,EnvironmentSpecific<DependencyCheckInstallation>
,NodeSpecific<DependencyCheckInstallation>
,Serializable
public class DependencyCheckInstallation
extends ToolInstallation
implements EnvironmentSpecific<DependencyCheckInstallation>, NodeSpecific<DependencyCheckInstallation>
Defines a Dependency-Check CLI tool installation.
- Since:
- 5.0.0
- Author:
- Steve Springett (steve.springett@owasp.org)
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class hudson.tools.ToolInstallation
ToolInstallation.ToolConverter
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Constructor Summary
ModifierConstructorDescriptionDependencyCheckInstallation
(String name, String home, List<? extends ToolProperty<?>> properties) protected
DependencyCheckInstallation
(String name, String home, List<? extends ToolProperty<?>> properties, Platform platform) -
Method Summary
Modifier and TypeMethodDescriptionvoid
buildEnvVars
(EnvVars env) forEnvironment
(EnvVars environment) forNode
(Node node, TaskListener log) getExecutable
(Launcher launcher) 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 Details
-
DependencyCheckInstallation
@DataBoundConstructor public DependencyCheckInstallation(@NonNull String name, @NonNull String home, List<? extends ToolProperty<?>> properties) -
DependencyCheckInstallation
protected DependencyCheckInstallation(@NonNull String name, @Nullable String home, List<? extends ToolProperty<?>> properties, Platform platform)
-
-
Method Details
-
forEnvironment
- Specified by:
forEnvironment
in interfaceEnvironmentSpecific<DependencyCheckInstallation>
-
forNode
public DependencyCheckInstallation forNode(@NonNull Node node, TaskListener log) throws IOException, InterruptedException - Specified by:
forNode
in interfaceNodeSpecific<DependencyCheckInstallation>
- Throws:
IOException
InterruptedException
-
buildEnvVars
- Overrides:
buildEnvVars
in classToolInstallation
-
getExecutable
- Throws:
IOException
InterruptedException
-