hudson.tasks
Class Maven.MavenInstallation.DescriptorImpl

java.lang.Object
  extended by hudson.model.Descriptor<ToolInstallation>
      extended by hudson.tools.ToolDescriptor<Maven.MavenInstallation>
          extended by hudson.tasks.Maven.MavenInstallation.DescriptorImpl
All Implemented Interfaces:
Saveable
Enclosing class:
Maven.MavenInstallation

@Extension
public static class Maven.MavenInstallation.DescriptorImpl
extends ToolDescriptor<Maven.MavenInstallation>


Nested Class Summary
 
Nested classes/interfaces inherited from class hudson.model.Descriptor
Descriptor.FormException, Descriptor.PropertyType, Descriptor.Self
 
Field Summary
 
Fields inherited from class hudson.model.Descriptor
clazz
 
Fields inherited from interface hudson.model.Saveable
NOOP
 
Constructor Summary
Maven.MavenInstallation.DescriptorImpl()
           
 
Method Summary
 FormValidation doCheckMavenHome(File value)
          Checks if the MAVEN_HOME is valid.
 FormValidation doCheckName(String value)
           
 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 ToolInstallations.
 void setInstallations(Maven.MavenInstallation... installations)
          Overwrites ToolInstallations.
 
Methods inherited from class hudson.tools.ToolDescriptor
configure, getDefaultProperties, getPropertyDescriptors
 
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
 

Constructor Detail

Maven.MavenInstallation.DescriptorImpl

public Maven.MavenInstallation.DescriptorImpl()
Method Detail

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 ToolInstallations.

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 ToolInstallations.

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.