Interface Packager.MainClassTimeoutWarningListener

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

    Modifier and Type
    Method
    Description
    void
    handleTimeoutWarning(long duration, String mainMethod)
    Handle a timeout warning.
  • Method Details

    • 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