@Extension public static class JDK.DescriptorImpl extends ToolDescriptor<JDK>
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 JAVA_HOME is a valid JAVA_HOME path.
|
List<JDKInstaller> |
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.
|
JDK[] |
getInstallations()
Configured instances of
ToolInstallation s. |
void |
setInstallations(JDK... jdks)
Overwrites
ToolInstallation s. |
configure, doCheckHome, doCheckName, getDefaultProperties, getPropertyDescriptors
addHelpFileRedirect, calcAutoCompleteSettings, calcFillSettings, configure, doHelp, find, find, 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 JDK[] getInstallations()
ToolDescriptor
ToolInstallation
s.getInstallations
in class ToolDescriptor<JDK>
public void setInstallations(JDK... jdks)
ToolDescriptor
ToolInstallation
s.setInstallations
in class ToolDescriptor<JDK>
jdks
- list of installations;
can be empty but never null.public List<JDKInstaller> getDefaultInstallers()
ToolDescriptor
getDefaultInstallers
in class ToolDescriptor<JDK>
protected FormValidation checkHomeDirectory(File value)
checkHomeDirectory
in class ToolDescriptor<JDK>
value
- a possible value for ToolInstallation.getHome()
, known to already exist on the masterFormValidation.ok()
Copyright © 2014. All rights reserved.