Package jenkins.plugins.nodejs.tools
Class MirrorNodeJSInstaller
java.lang.Object
hudson.tools.ToolInstaller
hudson.tools.DownloadFromUrlInstaller
jenkins.plugins.nodejs.tools.NodeJSInstaller
jenkins.plugins.nodejs.tools.MirrorNodeJSInstaller
- All Implemented Interfaces:
ExtensionPoint
,Describable<ToolInstaller>
Automatic NodeJS installer from a nodejs.org mirror
- Since:
- 1.4.0
- Author:
- Riain Condon, Nikolas Falco
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
protected final class
Nested classes/interfaces inherited from class jenkins.plugins.nodejs.tools.NodeJSInstaller
NodeJSInstaller.NodeJSInstallable
Nested classes/interfaces inherited from class hudson.tools.DownloadFromUrlInstaller
DownloadFromUrlInstaller.Installable, DownloadFromUrlInstaller.InstallableList, DownloadFromUrlInstaller.NodeSpecificInstallable
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 jenkins.plugins.nodejs.tools.NodeJSInstaller
DEFAULT_NPM_PACKAGES_REFRESH_HOURS, NPM_PACKAGES_RECORD_FILENAME
Fields inherited from class hudson.tools.DownloadFromUrlInstaller
id
Fields inherited from class hudson.tools.ToolInstaller
tool
-
Constructor Summary
ConstructorDescriptionMirrorNodeJSInstaller
(String id, String mirrorURL, String npmPackages, long npmPackagesRefreshHours) -
Method Summary
Modifier and TypeMethodDescriptionperformInstallation
(ToolInstallation tool, Node node, TaskListener log) void
setCredentialsId
(String credentialsId) Methods inherited from class jenkins.plugins.nodejs.tools.NodeJSInstaller
areNpmPackagesUpToDate, getLocalCacheFile, getNpmPackages, getNpmPackagesRefreshHours, isForce32Bit, refreshGlobalPackages, setForce32Bit
Methods inherited from class hudson.tools.DownloadFromUrlInstaller
findPullUpDirectory, isUpToDate
Methods inherited from class hudson.tools.ToolInstaller
appliesTo, getDescriptor, getLabel, preferredLocation, setTool
-
Constructor Details
-
MirrorNodeJSInstaller
-
-
Method Details
-
getMirrorURL
-
setCredentialsId
-
getCredentialsId
-
performInstallation
public FilePath performInstallation(ToolInstallation tool, Node node, TaskListener log) throws IOException, InterruptedException - Overrides:
performInstallation
in classNodeJSInstaller
- Throws:
IOException
InterruptedException
-
getInstallable
- Overrides:
getInstallable
in classNodeJSInstaller
- Throws:
IOException
-