hudson.tools
Class JDKInstaller.DescriptorImpl

java.lang.Object
  extended by hudson.model.Descriptor<ToolInstaller>
      extended by hudson.tools.ToolInstallerDescriptor<JDKInstaller>
          extended by hudson.tools.JDKInstaller.DescriptorImpl
All Implemented Interfaces:
Saveable
Enclosing class:
JDKInstaller

@Extension
public static final class JDKInstaller.DescriptorImpl
extends ToolInstallerDescriptor<JDKInstaller>


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
JDKInstaller.DescriptorImpl()
           
 
Method Summary
 FormValidation doCheckAcceptLicense(boolean value)
           
 FormValidation doCheckId(String value)
           
 org.kohsuke.stapler.HttpResponse doPostCredential(String username, String password)
          Submits the Oracle account username/password.
 String getDisplayName()
          Human readable name of this kind of configurable object.
 List<JDKInstaller.JDKFamily> getInstallableJDKs()
          List of installable JDKs.
 Secret getPassword()
           
 String getUsername()
           
 boolean isApplicable(Class<? extends ToolInstallation> toolType)
          Controls what kind of ToolInstallation this installer can be applied to.
 
Methods inherited from class hudson.tools.ToolInstallerDescriptor
all, for_
 
Methods inherited from class hudson.model.Descriptor
addHelpFileRedirect, calcAutoCompleteSettings, calcFillSettings, configure, 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

JDKInstaller.DescriptorImpl

public JDKInstaller.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<ToolInstaller>

isApplicable

public boolean isApplicable(Class<? extends ToolInstallation> toolType)
Description copied from class: ToolInstallerDescriptor
Controls what kind of ToolInstallation this installer can be applied to.

By default, this method just returns true to everything, claiming it's applicable to any tool installations.

Overrides:
isApplicable in class ToolInstallerDescriptor<JDKInstaller>

getUsername

public String getUsername()

getPassword

public Secret getPassword()

doCheckId

public FormValidation doCheckId(@QueryParameter
                                String value)

getInstallableJDKs

public List<JDKInstaller.JDKFamily> getInstallableJDKs()
                                                throws IOException
List of installable JDKs.

Returns:
never null.
Throws:
IOException

doCheckAcceptLicense

public FormValidation doCheckAcceptLicense(@QueryParameter
                                           boolean value)

doPostCredential

public org.kohsuke.stapler.HttpResponse doPostCredential(@QueryParameter
                                                         String username,
                                                         @QueryParameter
                                                         String password)
                                                  throws IOException,
                                                         javax.servlet.ServletException
Submits the Oracle account username/password.

Throws:
IOException
javax.servlet.ServletException


Copyright © 2004-2013. All Rights Reserved.