Class NullActivityProgress

    • Constructor Detail

      • NullActivityProgress

        public NullActivityProgress()
    • Method Detail

      • setFraction

        public void setFraction​(float completed)
        Description copied from interface: ActivityProgress
        Allows to set the completion of the task (should be between 0 and 1 inclusive)
        Specified by:
        setFraction in interface ActivityProgress
        Parameters:
        completed - number 0..1 to specify completed percent
      • setProgressText

        public void setProgressText​(String progressText)
        Description copied from interface: ActivityProgress
        Set current progress text
        Specified by:
        setProgressText in interface ActivityProgress
        Parameters:
        progressText - short description of the current operation
      • checkCanceled

        public void checkCanceled()
        Description copied from interface: ActivityProgress
        This method checks if underlying process should be cancelled without completion. It should be checked periodically during the action run.
        Specified by:
        checkCanceled in interface ActivityProgress