Class DapNetcdfFile.NullCancelTask

    • Constructor Detail

      • NullCancelTask

        protected NullCancelTask()
    • Method Detail

      • isCancel

        public boolean isCancel()
        Description copied from interface: CancelTask
        Calling routine may cancel, called routine checks this method, and if true, return asap.
        Specified by:
        isCancel in interface CancelTask
        Returns:
        true if task was cancelled
      • isDone

        public boolean isDone()
        Description copied from interface: CancelTask
        Application calls to see if task is done.
        Specified by:
        isDone in interface CancelTask
      • setDone

        public void setDone​(boolean done)
        Description copied from interface: CancelTask
        Called routine sets operation was completed.
        Specified by:
        setDone in interface CancelTask
      • setError

        public void setError​(String msg)
        Description copied from interface: CancelTask
        Called routine got an error, so it sets a message for calling program to show to user.
        Specified by:
        setError in interface CancelTask
        Parameters:
        msg - message to show user
      • setProgress

        public void setProgress​(String msg,
                                int progress)
        Description copied from interface: CancelTask
        Called routine may optionally show a progress message for calling program to show to user.
        Specified by:
        setProgress in interface CancelTask
        Parameters:
        msg - message to show user
        progress - count of progress