Class ShutdownCommand

    • Constructor Detail

      • ShutdownCommand

        public ShutdownCommand​(CloseMode type)
    • Method Detail

      • cancel

        public boolean cancel()
        Description copied from interface: Cancellable
        Cancels the ongoing operation or process.
        Specified by:
        cancel in interface Cancellable
        Returns:
        true if the operation or process has been cancelled as a result of this method call or false if it has already been cancelled or not started.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object