Interface PlatformHook.JavaExpirationCallback

  • Enclosing interface:
    PlatformHook
    Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public static interface PlatformHook.JavaExpirationCallback
    Called when an outdated version of Java is detected at startup.
    Since:
    12270
    • Method Detail

      • askUpdateJava

        void askUpdateJava​(String updVersion,
                           String url,
                           String eolDate,
                           boolean major)
        Asks user to update its version of Java.
        Parameters:
        updVersion - target update version
        url - download URL
        major - true for a migration towards a major version of Java (8:9), false otherwise
        eolDate - the EOL/expiration date