hudson.tools
Class DownloadFromUrlInstaller.DescriptorImpl<T extends DownloadFromUrlInstaller>
java.lang.Object
hudson.model.Descriptor<ToolInstaller>
hudson.tools.ToolInstallerDescriptor<T>
hudson.tools.DownloadFromUrlInstaller.DescriptorImpl<T>
- All Implemented Interfaces:
- Saveable
- Direct Known Subclasses:
- Maven.MavenInstaller.DescriptorImpl
- Enclosing class:
- DownloadFromUrlInstaller
public abstract static class DownloadFromUrlInstaller.DescriptorImpl<T extends DownloadFromUrlInstaller>
- extends ToolInstallerDescriptor<T>
Methods inherited from class hudson.model.Descriptor |
addHelpFileRedirect, calcAutoCompleteSettings, calcFillSettings, configure, configure, doHelp, find, find, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getDisplayName, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DownloadFromUrlInstaller.DescriptorImpl
protected DownloadFromUrlInstaller.DescriptorImpl()
createDownloadable
protected DownloadService.Downloadable createDownloadable()
getId
public String 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 class Descriptor<ToolInstaller>
- Returns:
- Stick to valid Java identifier character, plus '.', which had to be allowed for historical reasons.
getInstallables
public List<? extends DownloadFromUrlInstaller.Installable> getInstallables()
throws IOException
- 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
Copyright © 2004-2013. All Rights Reserved.