hudson.tools
Class ToolInstallerDescriptor<T extends ToolInstaller>

java.lang.Object
  extended by hudson.model.Descriptor<ToolInstaller>
      extended by 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

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
 
Fields inherited from interface hudson.model.Saveable
NOOP
 
Constructor Summary
ToolInstallerDescriptor()
           
 
Method Summary
static DescriptorExtensionList<ToolInstaller,ToolInstallerDescriptor<?>> all()
           
static List<ToolInstallerDescriptor<?>> for_(Class<? extends ToolInstallation> type)
          Filters all() by eliminating things that are not applicable to the given type.
 boolean isApplicable(Class<? extends ToolInstallation> toolType)
          Controls what kind of ToolInstallation this installer can be applied to.
 
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
 

Constructor Detail

ToolInstallerDescriptor

public ToolInstallerDescriptor()
Method Detail

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.