Package aQute.bnd.util.repository
Class DownloadListenerPromise
java.lang.Object
aQute.bnd.util.repository.DownloadListenerPromise
Uses promises to signal the Download Listener from
RepositoryPlugin
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDownloadListenerPromise
(Reporter r, String task, org.osgi.util.promise.Promise<File> promise, RepositoryPlugin.DownloadListener... downloadListeners) DownloadListenerPromise
(Reporter r, String task, org.osgi.util.promise.Promise<File> promise, Map<String, String> attrs, RepositoryPlugin.DownloadListener... downloadListeners) Use the promise to signal the Download Listeners -
Method Summary
-
Field Details
-
logger
private static final org.slf4j.Logger logger -
task
-
linked
-
-
Constructor Details
-
DownloadListenerPromise
public DownloadListenerPromise(Reporter r, String task, org.osgi.util.promise.Promise<File> promise, Map<String, String> attrs, RepositoryPlugin.DownloadListener... downloadListeners) Use the promise to signal the Download Listeners- Parameters:
r
- a reporter or null (will use a SLF4 in that case)task
-promise
-attrs
-downloadListeners
-
-
DownloadListenerPromise
public DownloadListenerPromise(Reporter r, String task, org.osgi.util.promise.Promise<File> promise, RepositoryPlugin.DownloadListener... downloadListeners)
-
-
Method Details