Package io.snyk.jenkins.tools
Class SnykInstaller
- java.lang.Object
-
- hudson.tools.ToolInstaller
-
- io.snyk.jenkins.tools.SnykInstaller
-
- All Implemented Interfaces:
ExtensionPoint
,Describable<ToolInstaller>
public class SnykInstaller extends ToolInstaller
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SnykInstaller.SnykInstallerDescriptor
-
Nested classes/interfaces inherited from class hudson.tools.ToolInstaller
ToolInstaller.ToolInstallerEntry, ToolInstaller.ToolInstallerList
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Field Summary
-
Fields inherited from class hudson.tools.ToolInstaller
tool
-
-
Constructor Summary
Constructors Constructor Description SnykInstaller(String label, String version, Long updatePolicyIntervalHours, PlatformItem platform)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PlatformItem
getPlatform()
Long
getUpdatePolicyIntervalHours()
String
getVersion()
FilePath
performInstallation(ToolInstallation tool, Node node, TaskListener listener)
-
Methods inherited from class hudson.tools.ToolInstaller
appliesTo, getDescriptor, getLabel, preferredLocation, setTool
-
-
-
-
Constructor Detail
-
SnykInstaller
@DataBoundConstructor public SnykInstaller(String label, String version, Long updatePolicyIntervalHours, PlatformItem platform)
-
-
Method Detail
-
performInstallation
public FilePath performInstallation(ToolInstallation tool, Node node, TaskListener listener) throws IOException, InterruptedException
- Specified by:
performInstallation
in classToolInstaller
- Throws:
IOException
InterruptedException
-
getVersion
public String getVersion()
-
getUpdatePolicyIntervalHours
public Long getUpdatePolicyIntervalHours()
-
getPlatform
public PlatformItem getPlatform()
-
-