@Extension public static class Maven.MavenInstallation.DescriptorImpl extends ToolDescriptor<Maven.MavenInstallation>
Descriptor.FormException, Descriptor.PropertyType, Descriptor.Self
clazz
Constructor and Description |
---|
DescriptorImpl() |
Modifier and Type | Method and Description |
---|---|
protected FormValidation |
checkHomeDirectory(File value)
Checks if the MAVEN_HOME is valid.
|
List<? extends ToolInstaller> |
getDefaultInstallers()
Optional list of installers to be configured by default for new tools of this type.
|
String |
getDisplayName()
Human readable name of this kind of configurable object.
|
Maven.MavenInstallation[] |
getInstallations()
Configured instances of
ToolInstallation s. |
void |
setInstallations(Maven.MavenInstallation... installations)
Overwrites
ToolInstallation s. |
configure, doCheckHome, doCheckName, getDefaultProperties, getPropertyDescriptors
addHelpFileRedirect, calcAutoCompleteSettings, calcFillSettings, configure, doHelp, find, find, findByDescribableClassName, findById, getCheckMethod, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, 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
public String getDisplayName()
Descriptor
getDisplayName
in class Descriptor<ToolInstallation>
public List<? extends ToolInstaller> getDefaultInstallers()
ToolDescriptor
getDefaultInstallers
in class ToolDescriptor<Maven.MavenInstallation>
public Maven.MavenInstallation[] getInstallations()
ToolDescriptor
ToolInstallation
s.getInstallations
in class ToolDescriptor<Maven.MavenInstallation>
public void setInstallations(Maven.MavenInstallation... installations)
ToolDescriptor
ToolInstallation
s.setInstallations
in class ToolDescriptor<Maven.MavenInstallation>
installations
- list of installations;
can be empty but never null.protected FormValidation checkHomeDirectory(File value)
checkHomeDirectory
in class ToolDescriptor<Maven.MavenInstallation>
value
- a possible value for ToolInstallation.getHome()
, known to already exist on the masterFormValidation.ok()
Copyright © 2016. All rights reserved.