hudson.tools
Class JDKInstaller.DescriptorImpl
java.lang.Object
hudson.model.Descriptor<ToolInstaller>
hudson.tools.ToolInstallerDescriptor<JDKInstaller>
hudson.tools.JDKInstaller.DescriptorImpl
- All Implemented Interfaces:
- Saveable
- Enclosing class:
- JDKInstaller
@Extension
public static final class JDKInstaller.DescriptorImpl
- extends ToolInstallerDescriptor<JDKInstaller>
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 |
JDKInstaller.DescriptorImpl
public JDKInstaller.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<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.