Package net.ssehub.easy.basics.progress
Interface BasicProgressObserver.IProgressMonitor
-
- All Known Implementing Classes:
EclipseProgressObserver.MyProgressMonitor,EclipseProgressObserver.MyProgressMonitor
- Enclosing class:
- BasicProgressObserver
public static interface BasicProgressObserver.IProgressMonitorSimple progress monitor interface.- Author:
- Holger Eichelberger
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidbeginTask(java.lang.String name, int max)Begins the task with the given name.voidsetTaskName(java.lang.String name)Sets the name of the current main task.voidsubTask(java.lang.String name)Informs 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 Detail
-
setTaskName
void setTaskName(java.lang.String name)
Sets the name of the current main task.- Parameters:
name- the name
-
beginTask
void beginTask(java.lang.String name, int max)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
void subTask(java.lang.String name)
Informs about executing a sub-task.- Parameters:
name- the name of the sub-task
-
-