Class ShuttingDownHandler.ShuttingDownArguments

java.lang.Object
com.tick42.glue.desktop.applications.ShuttingDownHandler.ShuttingDownArguments
Enclosing interface:
ShuttingDownHandler

public static final class ShuttingDownHandler.ShuttingDownArguments extends Object
Arguments describing shutting down.
Since:
1.4.12
  • Constructor Details

    • ShuttingDownArguments

      public ShuttingDownArguments(Instance initiator, String reason, boolean restarting)
  • Method Details

    • getInitiator

      public Instance getInitiator()
      Returns the interop instance of the application that initiated the shutdown.
      Returns:
      an Instance of the application initiating shut down or null
    • getReason

      public String getReason()
      Returns an optional string describing the reason for shutting down.
      Returns:
      a String describing the shutdown reason or null
    • isRestarting

      public boolean isRestarting()
      A flag indicating if this is a restart or complete shutdown.
      Returns:
      true if Glue Desktop is restarting and false otherwise