public interface ProgressManager
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROGRESSTRACKER |
| Modifier and Type | Method and Description |
|---|---|
String |
getNewProgressIdentifier()
You can use this to get an unique process identifier.
|
int |
getProgress(String id)
Get the progress in percents.
|
void |
startProgress(ProgressItem pi,
String id)
Call this method to get your ProgressItem into the ProgressManager queue.
|
void |
stopProgress(String id)
Call this method to remove your ProgressItem from the queue (after which getProgress() will no longer find it.
|
static final String JSON_PROGRESSTRACKER
String getNewProgressIdentifier()
void startProgress(ProgressItem pi, String id)
pi - ProgressItem to startid - The progress identifiervoid stopProgress(String id)
id - The progress identifierint getProgress(String id) throws IllegalArgumentException
id - The progress identifier.IllegalArgumentException - If no such progress item exists.Copyright © 2001-2020 The Apache Software Foundation. All rights reserved.