Package aQute.bnd.service.progress
Interface ProgressPlugin
- All Known Implementing Classes:
ConsoleProgress
,LoggingProgressPlugin
,ProgressToOutput
@ProviderType
public interface ProgressPlugin
A plugin for reporting progress on long-running jobs.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interface
Represents an ongoing task. -
Method Summary
Modifier and TypeMethodDescriptionStart a task with the specified name.
-
Method Details
-
startTask
Start a task with the specified name.- 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.
-