public abstract class RemoteListSourceProvider extends java.lang.Object implements RepositorySourceProvider
RepositorySourceProvider that retrieves RepositorySources from a remote
location.| Modifier and Type | Class and Description |
|---|---|
static interface |
RemoteListSourceProvider.GenericSite |
| Constructor and Description |
|---|
RemoteListSourceProvider() |
| Modifier and Type | Method and Description |
|---|---|
static RemoteListSourceProvider |
create(java.lang.String url,
SchemaModule sourceListModule,
java.util.Map<java.lang.Class<? extends RepositorySource>,java.util.Collection<SchemaModule<?>>> permittedSchemaModules)
Creates a new provider.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddSource, getSources, isModifiable, removeSource, save@NonNull public static RemoteListSourceProvider create(@NonNull java.lang.String url, @Nullable SchemaModule sourceListModule, @NonNull java.util.Map<java.lang.Class<? extends RepositorySource>,java.util.Collection<SchemaModule<?>>> permittedSchemaModules) throws java.net.URISyntaxException
url - The URL to download from.sourceListModule - Extension to the common source list schema, if any, used to
parse the downloaded xml.permittedSchemaModules - The SchemaModules that are allowed to be used by the
RepositorySources created by this provider, depending
on the actual type of site.java.net.URISyntaxException - If url is invalid.