Package aQute.bnd.build
Class LoggingProgressPlugin
- java.lang.Object
-
- aQute.bnd.build.LoggingProgressPlugin
-
- All Implemented Interfaces:
ProgressPlugin
public class LoggingProgressPlugin extends java.lang.Object implements ProgressPlugin
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface aQute.bnd.service.progress.ProgressPlugin
ProgressPlugin.Task
-
-
Field Summary
Fields Modifier and Type Field Description private static org.slf4j.Loggerlogger
-
Constructor Summary
Constructors Constructor Description LoggingProgressPlugin()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ProgressPlugin.TaskstartTask(java.lang.String name, int size)Start a task with the specified name.
-
-
-
Method Detail
-
startTask
public ProgressPlugin.Task startTask(java.lang.String name, int size)
Description copied from interface:ProgressPluginStart a task with the specified name.- Specified by:
startTaskin interfaceProgressPlugin- Parameters:
name- The name of the task -- must not be null.size- The expected size of the task, or -1 if not known in advance.- Returns:
- A handle for the ongoing task.
-
-