Package net.ssehub.easy.basics.progress
Interface BasicProgressObserver.IProgressMonitor
- Enclosing class:
BasicProgressObserver
public static interface BasicProgressObserver.IProgressMonitor
Simple progress monitor interface.
- Author:
- Holger Eichelberger
-
Method Summary
Modifier and TypeMethodDescriptionvoidBegins the task with the given name.voidsetTaskName(String name) Sets the name of the current main task.voidInforms about executing a sub-task.voidworked(int step) Informs that the given step within the maximum number of steps of the actual task has been completed.
-
Method Details
-
setTaskName
Sets the name of the current main task.- Parameters:
name- the name
-
beginTask
Begins the task with the given name.- Parameters:
name- the namemax- the maximum number of steps
-
worked
void worked(int step) Informs that the given step within the maximum number of steps of the actual task has been completed.- Parameters:
step- the step number
-
subTask
Informs about executing a sub-task.- Parameters:
name- the name of the sub-task
-