Package hudson.tools
Class JDKInstaller.DescriptorImpl
- Enclosing class:
- JDKInstaller
@Extension
@Symbol("jdkInstaller")
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
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoCheckAcceptLicense
(boolean value) org.kohsuke.stapler.HttpResponse
doPostCredential
(String username, String password) Submits the Oracle account username/password.List of installable JDKs.boolean
isApplicable
(Class<? extends ToolInstallation> toolType) Methods inherited from class hudson.tools.ToolInstallerDescriptor
all, doAutoCompleteLabel, doCheckLabel, for_
Methods inherited from class hudson.model.Descriptor
addHelpFileRedirect, bindJSON, bindJSON, calcAutoCompleteSettings, calcFillSettings, configure, configure, configure, doHelp, doHelp, find, find, findByDescribableClassName, findById, getCategory, getCheckMethod, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, getRequiredGlobalConfigPagePermission, getStaticHelpUrl, getStaticHelpUrl, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
Constructor Details
-
DescriptorImpl
public DescriptorImpl()
-
-
Method Details
-
getDisplayName
- Overrides:
getDisplayName
in classDescriptor<ToolInstaller>
-
isApplicable
- Overrides:
isApplicable
in classToolInstallerDescriptor<JDKInstaller>
-
getUsername
-
getPassword
-
doCheckId
-
getInstallableJDKs
List of installable JDKs.- Returns:
- never null.
- Throws:
IOException
-
doCheckAcceptLicense
-
doPostCredential
public org.kohsuke.stapler.HttpResponse doPostCredential(@QueryParameter String username, @QueryParameter String password) throws IOException, jakarta.servlet.ServletException Submits the Oracle account username/password.- Throws:
IOException
jakarta.servlet.ServletException
-