@Extension @Symbol(value="maven") public static final class Maven.MavenInstaller.DescriptorImpl extends DownloadFromUrlInstaller.DescriptorImpl<Maven.MavenInstaller>
Descriptor.FormException, Descriptor.PropertyType, Descriptor.Self
clazz
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, getInstallables
all, doAutoCompleteLabel, doCheckLabel, for_
addHelpFileRedirect, calcAutoCompleteSettings, calcFillSettings, configure, configure, doHelp, find, find, findByDescribableClassName, findById, getCategory, getCheckMethod, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, getRequiredGlobalConfigPagePermission, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
public String getDisplayName()
Descriptor
Class.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)
ToolInstallerDescriptor
ToolInstallation
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 © 2004–2021. All rights reserved.