Class ShuttingDownHandler.ShuttingDownArguments
java.lang.Object
com.tick42.glue.desktop.applications.ShuttingDownHandler.ShuttingDownArguments
- Enclosing interface:
- ShuttingDownHandler
Arguments describing shutting down.
- Since:
- 1.4.12
-
Constructor Summary
ConstructorsConstructorDescriptionShuttingDownArguments(Instance initiator, String reason, boolean restarting) -
Method Summary
Modifier and TypeMethodDescriptionReturns the interop instance of the application that initiated the shutdown.Returns an optional string describing the reason for shutting down.booleanA flag indicating if this is a restart or complete shutdown.
-
Constructor Details
-
ShuttingDownArguments
-
-
Method Details
-
getInitiator
Returns the interop instance of the application that initiated the shutdown.- Returns:
- an
Instanceof the application initiating shut down ornull
-
getReason
Returns an optional string describing the reason for shutting down.- Returns:
- a
Stringdescribing the shutdown reason ornull
-
isRestarting
public boolean isRestarting()A flag indicating if this is a restart or complete shutdown.- Returns:
trueif Glue Desktop is restarting andfalseotherwise
-