public class LoggingProgressPlugin extends java.lang.Object implements ProgressPlugin
ProgressPlugin.Task
Modifier and Type | Field and Description |
---|---|
private static org.slf4j.Logger |
logger |
Constructor and Description |
---|
LoggingProgressPlugin() |
Modifier and Type | Method and Description |
---|---|
ProgressPlugin.Task |
startTask(java.lang.String name,
int size)
Start a task with the specified name.
|
public ProgressPlugin.Task startTask(java.lang.String name, int size)
ProgressPlugin
startTask
in interface ProgressPlugin
name
- The name of the task -- must not be null.size
- The expected size of the task, or -1 if not known in advance.