hudson.tools
Class ToolInstallerDescriptor<T extends ToolInstaller>
java.lang.Object
hudson.model.Descriptor<ToolInstaller>
hudson.tools.ToolInstallerDescriptor<T>
- All Implemented Interfaces:
- Saveable
- Direct Known Subclasses:
- CommandInstaller.DescriptorImpl, DownloadFromUrlInstaller.DescriptorImpl, JDKInstaller.DescriptorImpl, ZipExtractionInstaller.DescriptorImpl
public abstract class ToolInstallerDescriptor<T extends ToolInstaller>
- extends Descriptor<ToolInstaller>
Descriptor for a ToolInstaller
.
- Since:
- 1.305
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, getId, 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 |
ToolInstallerDescriptor
public ToolInstallerDescriptor()
isApplicable
public boolean isApplicable(Class<? extends ToolInstallation> toolType)
- Controls what kind of
ToolInstallation
this installer can be applied to.
By default, this method just returns true to everything, claiming it's applicable to any tool installations.
all
public static DescriptorExtensionList<ToolInstaller,ToolInstallerDescriptor<?>> all()
for_
public static List<ToolInstallerDescriptor<?>> for_(Class<? extends ToolInstallation> type)
- Filters
all()
by eliminating things that are not applicable to the given type.
Copyright © 2004-2013. All Rights Reserved.