org.springframework.boot.loader.tools

Interface Repackager.MainClassTimeoutWarningListener

  • Enclosing class:
    Repackager
    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 Repackager.MainClassTimeoutWarningListener
    Callback interface used to present a warning when finding the main class takes too long.
    • Method Detail

      • handleTimeoutWarning

        void handleTimeoutWarning(long duration,
                                  String mainMethod)
        Handle a timeout warning.
        Parameters:
        duration - the amount of time it took to find the main method
        mainMethod - the main method that was actually found