Class JDKInstaller.DescriptorImpl
- Enclosing class:
JDKInstaller
@Extension
@Symbol("jdkInstaller")
public static final class JDKInstaller.DescriptorImpl
extends ToolInstallerDescriptor<JDKInstaller>
- Since:
- 1.305
- Author:
- Kohsuke Kawaguchi
-
Nested Class Summary
Nested classes/interfaces inherited from class Descriptor
Descriptor.FormException, Descriptor.PropertyType, Descriptor.Self -
Field Summary
Fields inherited from class Descriptor
clazz -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoCheckAcceptLicense(boolean value) org.kohsuke.stapler.HttpResponsedoPostCredential(String username, String password) Submits the Oracle account username/password.List of installable JDKs.booleanisApplicable(Class<? extends ToolInstallation> toolType) Methods inherited from class ToolInstallerDescriptor
all, doAutoCompleteLabel, doCheckLabel, for_Methods inherited from class 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:
getDisplayNamein classDescriptor<ToolInstaller>
-
isApplicable
- Overrides:
isApplicablein 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:
IOExceptionjakarta.servlet.ServletException
-