public class TaskProgressImpl extends Object implements TaskProgress
Constructor and Description |
---|
TaskProgressImpl(String progressFilePath,
PrintStream output,
PrintStream error) |
Modifier and Type | Method and Description |
---|---|
int |
get()
get the current progress
|
void |
set(int progress)
Sets the current progress
|
public TaskProgressImpl(String progressFilePath, PrintStream output, PrintStream error)
public int get()
TaskProgress
get
in interface TaskProgress
public void set(int progress)
TaskProgress
set
in interface TaskProgress
progress
- an integer value between 0 and 100 (percentage)