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 voidcompleteJobs(int number)React to the completion ofnumberjobs.voidfinished()React to the completion of the entire task.voidstart()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 ofnumberjobs.- Parameters:
number- The number of jobs to mark as completed.
-
finished
void finished()React to the completion of the entire task.
-