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.
Callback to be invoked when Glue Desktop is shutting down.
- Since:
- 1.4.12
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classArguments describing shutting down. -
Method Summary
Modifier and TypeMethodDescriptionThe method called on shutdown.
-
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
-