aQute.bnd.service.progress
Interface ProgressPlugin


public interface ProgressPlugin

A plugin for reporting progress on long-running jobs.

Author:
Neil Bartlett

Nested Class Summary
static interface ProgressPlugin.Task
          Represents an ongoing task.
 
Method Summary
 ProgressPlugin.Task startTask(String name, int size)
          Start a task with the specified name.
 

Method Detail

startTask

ProgressPlugin.Task startTask(String name,
                              int size)
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.


Copyright © 2014 aQute SARL. All rights reserved.