Interface VisualizableTask

  • All Implemented Interfaces:

    
    public interface VisualizableTask
    
                        

    Interface representing a task. Implementations can be visualized as a progress bar.

    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      String createProgressBar(Integer length) Create a progress bar as a string
      abstract String getName() Name of the task
      abstract Integer getCurrent() Current step of the task, out of total steps
      abstract Integer getTotal() Total steps in the task
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait