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 ClassesNested classes/interfaces inherited from class hudson.tools.ToolInstallation
ToolInstallation.ToolConverterNested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Constructor Summary
ConstructorsModifierConstructorDescriptionDependencyCheckInstallation(String name, String home, List<? extends ToolProperty<?>> properties) protectedDependencyCheckInstallation(String name, String home, List<? extends ToolProperty<?>> properties, Platform platform) -
Method Summary
Modifier and TypeMethodDescriptionvoidbuildEnvVars(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, writeReplaceMethods 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:
forEnvironmentin interfaceEnvironmentSpecific<DependencyCheckInstallation>
-
forNode
public DependencyCheckInstallation forNode(@NonNull Node node, TaskListener log) throws IOException, InterruptedException - Specified by:
forNodein interfaceNodeSpecific<DependencyCheckInstallation>- Throws:
IOExceptionInterruptedException
-
buildEnvVars
- Overrides:
buildEnvVarsin classToolInstallation
-
getExecutable
- Throws:
IOExceptionInterruptedException
-