Package jenkins.plugins.nodejs.tools
Class MirrorNodeJSInstaller.DescriptorImpl
java.lang.Object
hudson.model.Descriptor<ToolInstaller>
hudson.tools.ToolInstallerDescriptor<T>
hudson.tools.DownloadFromUrlInstaller.DescriptorImpl<MirrorNodeJSInstaller>
jenkins.plugins.nodejs.tools.MirrorNodeJSInstaller.DescriptorImpl
- Enclosing class:
- MirrorNodeJSInstaller
@Extension
public static final class MirrorNodeJSInstaller.DescriptorImpl
extends DownloadFromUrlInstaller.DescriptorImpl<MirrorNodeJSInstaller>
-
Nested Class Summary
Nested classes/interfaces inherited from class hudson.model.Descriptor
Descriptor.FormException, Descriptor.PropertyType, Descriptor.Self
-
Field Summary
Fields inherited from class hudson.model.Descriptor
clazz
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondoCheckCredentialsId
(Item item, String credentialsId, String mirrorURL) doCheckMirrorURL
(String mirrorURL) doFillCredentialsIdItems
(Item item, String credentialsId, String mirrorURL) protected Authentication
getAuthentication
(Item item) List<? extends DownloadFromUrlInstaller.Installable>
boolean
isApplicable
(Class<? extends ToolInstallation> toolType) Methods inherited from class hudson.tools.DownloadFromUrlInstaller.DescriptorImpl
createDownloadable, getId
Methods inherited from class hudson.tools.ToolInstallerDescriptor
all, doAutoCompleteLabel, doCheckLabel, for_
Methods inherited from class hudson.model.Descriptor
addHelpFileRedirect, bindJSON, calcAutoCompleteSettings, calcFillSettings, configure, configure, doHelp, find, find, findByDescribableClassName, findById, getCategory, getCheckMethod, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, getRequiredGlobalConfigPagePermission, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
Constructor Details
-
DescriptorImpl
public DescriptorImpl()
-
-
Method Details
-
getDisplayName
- Overrides:
getDisplayName
in classDescriptor<ToolInstaller>
-
doCheckCredentialsId
public FormValidation doCheckCredentialsId(@CheckForNull @AncestorInPath Item item, @QueryParameter String credentialsId, @QueryParameter String mirrorURL) -
doFillCredentialsIdItems
public ListBoxModel doFillCredentialsIdItems(@AncestorInPath Item item, @QueryParameter String credentialsId, @QueryParameter String mirrorURL) -
getAuthentication
-
doCheckMirrorURL
public FormValidation doCheckMirrorURL(@CheckForNull @QueryParameter String mirrorURL) throws IOException - Throws:
IOException
-
getInstallables
@NonNull public List<? extends DownloadFromUrlInstaller.Installable> getInstallables() throws IOException- Overrides:
getInstallables
in classDownloadFromUrlInstaller.DescriptorImpl<MirrorNodeJSInstaller>
- Throws:
IOException
-
isApplicable
- Overrides:
isApplicable
in classToolInstallerDescriptor<MirrorNodeJSInstaller>
-