Package com.install4j.jdk.spi
Interface JdkReleaseNode
- All Superinterfaces:
JdkNode
A node that describes a JDK release and its download URLs.
For the arguments named
platform
, the platform IDs in CommonPlatforms
must be used when available.
Other platforms can use arbitrary IDs.-
Method Summary
Modifier and TypeMethodDescriptionReturns the config key for this release.getDownloadUrl
(String platform) Returns the download URL for a given platform.getFileName
(String platform) Returns the file name that should be used for the generated JRE bundle for a given platform.Returns the IDs of all available platforms for this release.Methods inherited from interface com.install4j.jdk.spi.JdkNode
getDisplayName
-
Method Details
-
getDownloadUrl
Returns the download URL for a given platform. May be null if this platform is not available in this release. -
getFileName
Returns the file name that should be used for the generated JRE bundle for a given platform. -
getConfigKey
Returns the config key for this release. The config key is saved in the install4j project file and passed toJdkProvider.getByConfigKey(String)
to find a release node when the JDK is downloaded.The config key must start with the Java major version number followed by other characters, for example
11/11.0.9-b74+1
or11 FX/11.0.9-b74+1
. -
getPlatforms
Returns the IDs of all available platforms for this release.
-