Class BatchingProgressMonitor.Task

java.lang.Object
org.eclipse.jgit.lib.BatchingProgressMonitor.Task
All Implemented Interfaces:
Runnable
Enclosing class:
BatchingProgressMonitor

private static class BatchingProgressMonitor.Task extends Object implements Runnable
  • Field Details

    • taskName

      private final String taskName
      Title of the current task.
    • totalWork

      private final int totalWork
      Number of work units, or ProgressMonitor.UNKNOWN.
    • display

      private volatile boolean display
      True when timer expires and output should occur on next update.
    • timerFuture

      private Future<?> timerFuture
      Scheduled timer, supporting cancellation if task ends early.
    • output

      private boolean output
      True if the task has displayed anything.
    • lastWork

      private int lastWork
      Number of work units already completed.
    • lastPercent

      private int lastPercent
      Percentage of totalWork that is done.
  • Constructor Details

    • Task

      Task(String taskName, int totalWork)
  • Method Details