Interface JdkCategoryNode

  • All Superinterfaces:
    JdkNode

    public interface JdkCategoryNode
    extends JdkNode
    Category node for the tree of JDK releases. This node can have child nodes, but is not selectable as a release itself.
    • Method Detail

      • getChildren

        @NotNull
        java.util.Collection<? extends JdkNode> getChildren()
        Returns the child nodes which can be category nodes again or instances of JdkReleaseNode.
      • getCategoryKey

        @Nullable
        java.lang.String getCategoryKey()
        Returns a key for this category. The config key is saved in the install4j project file and passed to JdkProvider.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 or 11 FX.

        Can return null if no latest release can be provided for this category.