Package com.install4j.jdk.spi
Interface JdkCategoryNode
- All Superinterfaces:
JdkNode
Category node for the tree of JDK releases. This node can have child nodes, but is not selectable as a release itself.
-
Method Summary
Modifier and TypeMethodDescriptionReturns a key for this category.Collection<? extends JdkNode>
Returns the child nodes which can be category nodes again or instances ofJdkReleaseNode
.Methods inherited from interface com.install4j.jdk.spi.JdkNode
getDisplayName
-
Method Details
-
getChildren
Returns the child nodes which can be category nodes again or instances ofJdkReleaseNode
. -
getCategoryKey
Returns a key for this category. The config key is saved in the install4j project file and passed toJdkProvider.getLatestByCategoryKey(String, String)
to find a matching release node when the JDK is downloaded.The config key must either be the Java major version number or start with the major version number followed by a followed by other characters, for example
11
or11 FX
.Can return null if no latest release can be provided for this category.
-