Package cli
Interface TaskTracker
- All Known Implementing Classes:
ProgressBar
public interface TaskTracker
Classes which implement this interface are able to track the progress and process progress updates of
Task
objects.-
Method Summary
Modifier and Type Method Description void
completeJobs(int number)
React to the completion ofnumber
jobs.void
finished()
React to the completion of the entire task.void
start()
React to the starting of the entire task.
-
Method Details
-
start
void start()React to the starting of the entire task. -
completeJobs
void completeJobs(int number)React to the completion ofnumber
jobs.- Parameters:
number
- The number of jobs to mark as completed.
-
finished
void finished()React to the completion of the entire task.
-