Package com.embabel.common.util
Interface VisualizableTask
-
- All Implemented Interfaces:
public interface VisualizableTaskInterface representing a task. Implementations can be visualized as a progress bar.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classVisualizableTask.Companion
-
Method Summary
Modifier and Type Method Description StringcreateProgressBar(Integer length)Create a progress bar as a string abstract StringgetName()Name of the task abstract IntegergetCurrent()Current step of the task, out of total steps abstract IntegergetTotal()Total steps in the task -
-
Method Detail
-
createProgressBar
String createProgressBar(Integer length)
Create a progress bar as a string
-
getCurrent
abstract Integer getCurrent()
Current step of the task, out of total steps
-
-
-
-