Package hudson.tools
Class DownloadFromUrlInstaller.DescriptorImpl<T extends DownloadFromUrlInstaller>
java.lang.Object
hudson.model.Descriptor<ToolInstaller>
hudson.tools.ToolInstallerDescriptor<T>
hudson.tools.DownloadFromUrlInstaller.DescriptorImpl<T>
- Direct Known Subclasses:
Maven.MavenInstaller.DescriptorImpl
- Enclosing class:
- DownloadFromUrlInstaller
public abstract static class DownloadFromUrlInstaller.DescriptorImpl<T extends DownloadFromUrlInstaller>
extends ToolInstallerDescriptor<T>
-
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 TypeMethodDescriptionfunction that creates aDownloadService.Downloadable
.getId()
This ID needs to be unique, and needs to match the ID token in the JSON update file.List<? extends DownloadFromUrlInstaller.Installable>
List of installable tools.Methods inherited from class hudson.tools.ToolInstallerDescriptor
all, doAutoCompleteLabel, doCheckLabel, for_, isApplicable
Methods inherited from class hudson.model.Descriptor
addHelpFileRedirect, bindJSON, bindJSON, calcAutoCompleteSettings, calcFillSettings, configure, configure, configure, doHelp, doHelp, find, find, findByDescribableClassName, findById, getCategory, getCheckMethod, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getDisplayName, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, getRequiredGlobalConfigPagePermission, getStaticHelpUrl, getStaticHelpUrl, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
Constructor Details
-
DescriptorImpl
protected DescriptorImpl()
-
-
Method Details
-
createDownloadable
function that creates aDownloadService.Downloadable
.- Returns:
- a downloadable object
-
getId
This ID needs to be unique, and needs to match the ID token in the JSON update file.By default we use the fully-qualified class name of the
DownloadFromUrlInstaller
subtype.- Overrides:
getId
in classDescriptor<ToolInstaller>
- Returns:
- Stick to valid Java identifier character, plus '.', which had to be allowed for historical reasons.
-
getInstallables
List of installable tools.The UI uses this information to populate the drop-down. Subtypes can override this method if it wants to change the way the list is filled.
- Returns:
- never null.
- Throws:
IOException
-