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
Nested ClassesModifier and TypeClassDescriptionstatic final classprotected final classNested classes/interfaces inherited from class jenkins.plugins.nodejs.tools.NodeJSInstaller
NodeJSInstaller.NodeJSInstallableNested classes/interfaces inherited from class hudson.tools.DownloadFromUrlInstaller
DownloadFromUrlInstaller.Installable, DownloadFromUrlInstaller.InstallableList, DownloadFromUrlInstaller.NodeSpecificInstallableNested classes/interfaces inherited from class hudson.tools.ToolInstaller
ToolInstaller.ToolInstallerEntry, ToolInstaller.ToolInstallerListNested 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_FILENAMEFields inherited from class hudson.tools.DownloadFromUrlInstaller
idFields inherited from class hudson.tools.ToolInstaller
tool -
Constructor Summary
ConstructorsConstructorDescriptionMirrorNodeJSInstaller(String id, String mirrorURL, String npmPackages, long npmPackagesRefreshHours) -
Method Summary
Modifier and TypeMethodDescriptionperformInstallation(ToolInstallation tool, Node node, TaskListener log) voidsetCredentialsId(String credentialsId) Methods inherited from class jenkins.plugins.nodejs.tools.NodeJSInstaller
areNpmPackagesUpToDate, getLocalCacheFile, getNpmPackages, getNpmPackagesRefreshHours, isForce32Bit, refreshGlobalPackages, setForce32BitMethods inherited from class hudson.tools.DownloadFromUrlInstaller
findPullUpDirectory, isUpToDateMethods 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:
performInstallationin classNodeJSInstaller- Throws:
IOExceptionInterruptedException
-
getInstallable
- Overrides:
getInstallablein classNodeJSInstaller- Throws:
IOException
-