Class MultiProgressMonitor.Task

    • Method Detail

      • update

        public void update​(int completed)
        Indicate that work has been completed on this sub-task.

        Must be called from a worker thread.

        Specified by:
        update in interface org.eclipse.jgit.lib.ProgressMonitor
        Parameters:
        completed - number of work units completed.
      • end

        public void end()
        Indicate that this sub-task is finished.

        Must be called from a worker thread.

      • start

        public void start​(int totalTasks)
        Specified by:
        start in interface org.eclipse.jgit.lib.ProgressMonitor
      • beginTask

        public void beginTask​(String title,
                              int totalWork)
        Specified by:
        beginTask in interface org.eclipse.jgit.lib.ProgressMonitor
      • endTask

        public void endTask()
        Specified by:
        endTask in interface org.eclipse.jgit.lib.ProgressMonitor
      • isCancelled

        public boolean isCancelled()
        Specified by:
        isCancelled in interface org.eclipse.jgit.lib.ProgressMonitor
      • getCount

        public int getCount()
      • getTotal

        public int getTotal()
      • getName

        public String getName()
      • getTotalDisplay

        public String getTotalDisplay​(int total)