SourceDownloader
Last updated
Last updated
Apps can be distributed on various different services, websites, and other potential sources. RepositoryManager is designed to support an infinite amount of them. How does it do it?
A SourceDownloader
is a Java interface used represent instructions for how to obtain an application from a given source, implementing an abstract class BaseSourceDownloader
.
All SourceDownloaders must be registered using the SourceRegistry
object, when registered they become "installed sources" and used by the server during repository indexing.
The following is an example of a SourceDownloader: