Class SigmaBinaryInstaller
- java.lang.Object
-
- hudson.tools.ToolInstaller
-
- io.jenkins.plugins.sigma.extension.tool.SigmaBinaryInstaller
-
- All Implemented Interfaces:
ExtensionPoint
,Describable<ToolInstaller>
public class SigmaBinaryInstaller extends ToolInstaller
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SigmaBinaryInstaller.DescriptorImpl
-
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 Modifier and Type Field Description static int
DEFAULT_TIMEOUT_SECONDS
-
Fields inherited from class hudson.tools.ToolInstaller
tool
-
-
Constructor Summary
Constructors Constructor Description SigmaBinaryInstaller(String label)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SigmaBinaryInstaller.DescriptorImpl
getDescriptor()
String
getDownloadUrl()
int
getTimeout()
FilePath
performInstallation(ToolInstallation tool, Node node, TaskListener log)
void
setDownloadUrl(String downloadUrl)
void
setTimeout(int timeout)
-
Methods inherited from class hudson.tools.ToolInstaller
appliesTo, getLabel, preferredLocation, setTool
-
-
-
-
Field Detail
-
DEFAULT_TIMEOUT_SECONDS
public static final int DEFAULT_TIMEOUT_SECONDS
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
SigmaBinaryInstaller
@DataBoundConstructor public SigmaBinaryInstaller(String label)
-
-
Method Detail
-
getDownloadUrl
public String getDownloadUrl()
-
setDownloadUrl
@DataBoundSetter public void setDownloadUrl(String downloadUrl)
-
getTimeout
public int getTimeout()
-
setTimeout
@DataBoundSetter public void setTimeout(int timeout)
-
getDescriptor
public SigmaBinaryInstaller.DescriptorImpl getDescriptor()
- Specified by:
getDescriptor
in interfaceDescribable<ToolInstaller>
- Overrides:
getDescriptor
in classToolInstaller
-
performInstallation
public FilePath performInstallation(ToolInstallation tool, Node node, TaskListener log) throws AbortException
- Specified by:
performInstallation
in classToolInstaller
- Throws:
AbortException
-
-