Package hudson.tools
Class ToolInstallerDescriptor<T extends ToolInstaller>
- java.lang.Object
-
- hudson.model.Descriptor<ToolInstaller>
-
- hudson.tools.ToolInstallerDescriptor<T>
-
- Direct Known Subclasses:
AbstractCommandInstaller.Descriptor
,DownloadFromUrlInstaller.DescriptorImpl
,ZipExtractionInstaller.DescriptorImpl
public abstract class ToolInstallerDescriptor<T extends ToolInstaller> extends Descriptor<ToolInstaller>
Descriptor for aToolInstaller
.- Since:
- 1.305
-
-
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
Constructors Constructor Description ToolInstallerDescriptor()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DescriptorExtensionList<ToolInstaller,ToolInstallerDescriptor<?>>
all()
AutoCompletionCandidates
doAutoCompleteLabel(String value)
FormValidation
doCheckLabel(String value)
static List<ToolInstallerDescriptor<?>>
for_(Class<? extends ToolInstallation> type)
Filtersall()
by eliminating things that are not applicable to the given type.boolean
isApplicable(Class<? extends ToolInstallation> toolType)
Controls what kind ofToolInstallation
this installer can be applied to.-
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, getDisplayName, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, getRequiredGlobalConfigPagePermission, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
-
-
-
Method Detail
-
isApplicable
public boolean isApplicable(Class<? extends ToolInstallation> toolType)
Controls what kind ofToolInstallation
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)
Filtersall()
by eliminating things that are not applicable to the given type.
-
doAutoCompleteLabel
public AutoCompletionCandidates doAutoCompleteLabel(@QueryParameter String value)
-
doCheckLabel
public FormValidation doCheckLabel(@QueryParameter String value)
-
-