@Extension public static final class JDKInstaller.DescriptorImpl extends ToolInstallerDescriptor<JDKInstaller>
Descriptor.FormException, Descriptor.PropertyType, Descriptor.Self
clazz
Constructor and Description |
---|
DescriptorImpl() |
Modifier and Type | Method and Description |
---|---|
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. |
all, for_
addHelpFileRedirect, calcAutoCompleteSettings, calcFillSettings, configure, configure, doHelp, find, find, getCheckMethod, 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
public String getDisplayName()
Descriptor
getDisplayName
in class Descriptor<ToolInstaller>
public boolean isApplicable(Class<? extends ToolInstallation> toolType)
ToolInstallerDescriptor
ToolInstallation
this installer can be applied to.
By default, this method just returns true to everything, claiming it's applicable to any tool installations.
isApplicable
in class ToolInstallerDescriptor<JDKInstaller>
public String getUsername()
public Secret getPassword()
public FormValidation doCheckId(@QueryParameter String value)
public List<JDKInstaller.JDKFamily> getInstallableJDKs() throws IOException
IOException
public FormValidation doCheckAcceptLicense(@QueryParameter boolean value)
public org.kohsuke.stapler.HttpResponse doPostCredential(@QueryParameter String username, @QueryParameter String password) throws IOException, javax.servlet.ServletException
IOException
javax.servlet.ServletException
Copyright © 2015. All rights reserved.