Class RemoteRepositorySearchBackendFactory
java.lang.Object
org.apache.maven.search.backend.remoterepository.RemoteRepositorySearchBackendFactory
The remote repository search backend factory.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreate
(String backendId, String repositoryId, String baseUri, RemoteRepositorySearchTransport transport, ResponseExtractor responseExtractor) Creates RR search backend using provided parameters.Creates "default" RR search backend against Maven Central suitable for most use cases.Creates "default" RR search backend against repository.apache.org releases repository suitable for most use cases.
-
Field Details
-
BACKEND_ID
- See Also:
-
CENTRAL_REPOSITORY_ID
- See Also:
-
CENTRAL_URI
- See Also:
-
RAO_RELEASES_REPOSITORY_ID
- See Also:
-
RAO_RELEASES_URI
- See Also:
-
-
Constructor Details
-
RemoteRepositorySearchBackendFactory
public RemoteRepositorySearchBackendFactory()
-
-
Method Details
-
createDefaultMavenCentral
Creates "default" RR search backend against Maven Central suitable for most use cases. -
createDefaultRAOReleases
Creates "default" RR search backend against repository.apache.org releases repository suitable for most use cases. -
create
public static RemoteRepositorySearchBackend create(String backendId, String repositoryId, String baseUri, RemoteRepositorySearchTransport transport, ResponseExtractor responseExtractor) Creates RR search backend using provided parameters.
-