Interface ShuttingDownHandler

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 interface ShuttingDownHandler
Callback to be invoked when Glue Desktop is shutting down.
Since:
1.4.12
  • Method Details

    • onShuttingDown

      The method called on shutdown. Return a stage that completes with a boolean if shutdown should be prevented.
      Parameters:
      args - shutdown arguments
      Returns:
      a stage that completes with a boolean that indicates if shutdown should be prevented, never null