public class SubTaskMonitor extends AbstractTaskMonitor
Constructor and Description |
---|
SubTaskMonitor(int depth,
java.lang.String logPrefix,
double work,
double subTotalWork,
ISubTaskMonitorParent parentMonitor) |
Modifier and Type | Method and Description |
---|---|
void |
begin(double totalWork,
java.lang.String log)
Notifies that the task is beginning.
|
void |
end(boolean success,
java.lang.String log,
java.lang.String result)
Notifies that the task has been completed.
|
void |
flush() |
void |
log(java.lang.String log) |
void |
progress(double doneWork,
java.lang.String log)
Notifies that a given number of work unit of the task has been completed.
|
childEnded, subWork, subWork
public SubTaskMonitor(int depth, java.lang.String logPrefix, double work, double subTotalWork, ISubTaskMonitorParent parentMonitor)
public void begin(double totalWork, java.lang.String log)
IServerTaskMonitor
totalWork
- the total number of work units into which the task is been
subdivided.public void progress(double doneWork, java.lang.String log)
IServerTaskMonitor
doneWork
- number of work units just completedpublic void end(boolean success, java.lang.String log, java.lang.String result)
IServerTaskMonitor
public void flush()
public void log(java.lang.String log)
Copyright © 2021. All Rights Reserved.