Class ApplicationStoppingEvent
java.lang.Object
civitas.celestis.event.Event
civitas.celestis.event.application.ApplicationEvent
civitas.celestis.event.application.ApplicationStoppingEvent
- All Implemented Interfaces:
Handleable,Unique<UUID>
An event called by the application to notify other classes that the application is
about to stop, and all modules must prepare for termination.
- See Also:
-
Field Summary
Fields inherited from class civitas.celestis.event.application.ApplicationEvent
application -
Constructor Summary
ConstructorsConstructorDescriptionApplicationStoppingEvent(Application application) Creates a new application stopping event.ApplicationStoppingEvent(Application application, Handleable cause) Creates a new application stopping event. -
Method Summary
Methods inherited from class civitas.celestis.event.application.ApplicationEvent
getApplicationMethods inherited from class civitas.celestis.event.Event
getCause, getUniqueId, toString
-
Constructor Details
-
ApplicationStoppingEvent
Creates a new application stopping event.- Parameters:
application- The application which invoked this event
-
ApplicationStoppingEvent
Creates a new application stopping event.- Parameters:
application- The application which invoked this eventcause- The cause of this event's invocation
-