Interface ProgressWatcher


public interface ProgressWatcher
This interface is to use for tracking progress of a process.
Author:
Ozgun Babur
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    setTotalTicks(int total)
    Sets how many ticks are there in total.
    void
    tick(int times)
    Ticks the progress watcher.
  • Method Details

    • setTotalTicks

      void setTotalTicks(int total)
      Sets how many ticks are there in total.
      Parameters:
      total - total number of ticks
    • tick

      void tick(int times)
      Ticks the progress watcher.
      Parameters:
      times - times to tick