Class TextProgress

  • All Implemented Interfaces:
    Progress

    public class TextProgress
    extends java.lang.Object
    implements Progress
    Shows progress as a simple tex output showing" number complete / total number"
    • Constructor Summary

      Constructors 
      Constructor Description
      TextProgress​(long total)
      Constructor
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void done()
      Called to indicate another task is complete
      void done​(int number)
      Called to indicate multiple tasks are complete
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • TextProgress

        public TextProgress​(long total)
        Constructor
        Parameters:
        total - The number of tasks to be done
    • Method Detail

      • done

        public void done()
        Description copied from interface: Progress
        Called to indicate another task is complete
        Specified by:
        done in interface Progress
      • done

        public void done​(int number)
        Description copied from interface: Progress
        Called to indicate multiple tasks are complete
        Specified by:
        done in interface Progress
        Parameters:
        number - The number completed