hudson.model
Class JDK.DescriptorImpl
java.lang.Object
hudson.model.Descriptor<ToolInstallation>
hudson.tools.ToolDescriptor<JDK>
hudson.model.JDK.DescriptorImpl
- All Implemented Interfaces:
- Saveable
- Enclosing class:
- JDK
@Extension
public static class JDK.DescriptorImpl
- extends ToolDescriptor<JDK>
Methods inherited from class hudson.model.Descriptor |
addHelpFileRedirect, calcAutoCompleteSettings, calcFillSettings, configure, doHelp, find, find, 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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JDK.DescriptorImpl
public JDK.DescriptorImpl()
getDisplayName
public String getDisplayName()
- Description copied from class:
Descriptor
- Human readable name of this kind of configurable object.
- Specified by:
getDisplayName
in class Descriptor<ToolInstallation>
getInstallations
public JDK[] getInstallations()
- Description copied from class:
ToolDescriptor
- Configured instances of
ToolInstallation
s.
- Overrides:
getInstallations
in class ToolDescriptor<JDK>
- Returns:
- read-only list of installations;
can be empty but never null.
setInstallations
public void setInstallations(JDK... jdks)
- Description copied from class:
ToolDescriptor
- Overwrites
ToolInstallation
s.
- Overrides:
setInstallations
in class ToolDescriptor<JDK>
- Parameters:
jdks
- list of installations;
can be empty but never null.
getDefaultInstallers
public List<JDKInstaller> getDefaultInstallers()
- Description copied from class:
ToolDescriptor
- Optional list of installers to be configured by default for new tools of this type.
If there are popular versions of the tool available using generic installation techniques,
they can be returned here for the user's convenience.
- Overrides:
getDefaultInstallers
in class ToolDescriptor<JDK>
doCheckHome
public FormValidation doCheckHome(@QueryParameter
File value)
- Checks if the JAVA_HOME is a valid JAVA_HOME path.
doCheckName
public FormValidation doCheckName(@QueryParameter
String value)
Copyright © 2004-2013. All Rights Reserved.