public class DownloadableLibraryDescriptionImpl extends java.lang.Object implements DownloadableLibraryDescription
DownloadableFileSetVersions.FileSetVersionsCallback<F extends DownloadableFileSetDescription>
Constructor and Description |
---|
DownloadableLibraryDescriptionImpl(java.util.List<FrameworkLibraryVersion> versions) |
Modifier and Type | Method and Description |
---|---|
java.util.List<FrameworkLibraryVersion> |
fetchVersions() |
void |
fetchVersions(DownloadableFileSetVersions.FileSetVersionsCallback<FrameworkLibraryVersion> callback)
Fetches available versions of file sets and calls
callback.onSuccess when finished |
java.util.List<? extends FrameworkLibraryVersion> |
getVersions() |
public DownloadableLibraryDescriptionImpl(java.util.List<FrameworkLibraryVersion> versions)
public java.util.List<? extends FrameworkLibraryVersion> getVersions()
public void fetchVersions(DownloadableFileSetVersions.FileSetVersionsCallback<FrameworkLibraryVersion> callback)
DownloadableFileSetVersions
callback.onSuccess
when finishedfetchVersions
in interface DownloadableFileSetVersions<FrameworkLibraryVersion>
callback
- callback to receive the resultpublic java.util.List<FrameworkLibraryVersion> fetchVersions()
fetchVersions
in interface DownloadableFileSetVersions<FrameworkLibraryVersion>