@Extension public static final class Maven.MavenInstaller.DescriptorImpl extends DownloadFromUrlInstaller.DescriptorImpl<Maven.MavenInstaller>
Descriptor.FormException, Descriptor.PropertyType, Descriptor.Selfclazz| Constructor and Description |
|---|
DescriptorImpl() |
| Modifier and Type | Method and Description |
|---|---|
String |
getDisplayName()
Human readable name of this kind of configurable object.
|
boolean |
isApplicable(Class<? extends ToolInstallation> toolType)
Controls what kind of
ToolInstallation this installer can be applied to. |
createDownloadable, getId, getInstallablesall, for_addHelpFileRedirect, calcAutoCompleteSettings, calcFillSettings, configure, configure, doHelp, find, find, findByDescribableClassName, findById, getCheckMethod, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, 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, toMappublic String getDisplayName()
DescriptorClass.getSimpleName() on Descriptor.clazz, so for example MyThing from some.pkg.MyThing.DescriptorImpl.
Historically some implementations returned null as a way of hiding the descriptor from the UI,
but this is generally managed by an explicit method such as isEnabled or isApplicable.getDisplayName in class Descriptor<ToolInstaller>public boolean isApplicable(Class<? extends ToolInstallation> toolType)
ToolInstallerDescriptorToolInstallation this installer can be applied to.
By default, this method just returns true to everything, claiming it's applicable to any tool installations.
isApplicable in class ToolInstallerDescriptor<Maven.MavenInstaller>Copyright © 2019. All rights reserved.