hudson.tasks
Class Maven.MavenInstallation.DescriptorImpl
java.lang.Object
hudson.model.Descriptor<ToolInstallation>
hudson.tools.ToolDescriptor<Maven.MavenInstallation>
hudson.tasks.Maven.MavenInstallation.DescriptorImpl
- All Implemented Interfaces:
- Saveable
- Enclosing class:
- Maven.MavenInstallation
@Extension
public static class Maven.MavenInstallation.DescriptorImpl
- extends ToolDescriptor<Maven.MavenInstallation>
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 |
Maven.MavenInstallation.DescriptorImpl
public Maven.MavenInstallation.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>
getDefaultInstallers
public List<? extends ToolInstaller> 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<Maven.MavenInstallation>
getInstallations
public Maven.MavenInstallation[] getInstallations()
- Description copied from class:
ToolDescriptor
- Configured instances of
ToolInstallation
s.
- Overrides:
getInstallations
in class ToolDescriptor<Maven.MavenInstallation>
- Returns:
- read-only list of installations;
can be empty but never null.
setInstallations
public void setInstallations(Maven.MavenInstallation... installations)
- Description copied from class:
ToolDescriptor
- Overwrites
ToolInstallation
s.
- Overrides:
setInstallations
in class ToolDescriptor<Maven.MavenInstallation>
- Parameters:
installations
- list of installations;
can be empty but never null.
doCheckMavenHome
public FormValidation doCheckMavenHome(@QueryParameter
File value)
- Checks if the MAVEN_HOME is valid.
doCheckName
public FormValidation doCheckName(@QueryParameter
String value)
Copyright © 2004-2013. All Rights Reserved.