Package org.apache.maven.internal.impl
Class DefaultRemoteRepository
java.lang.Object
org.apache.maven.internal.impl.DefaultRemoteRepository
- All Implemented Interfaces:
RemoteRepository
,Repository
-
Field Summary
Fields inherited from interface org.apache.maven.api.Repository
CENTRAL_ID
-
Constructor Summary
ConstructorDescriptionDefaultRemoteRepository
(org.eclipse.aether.repository.RemoteRepository repository) -
Method Summary
-
Constructor Details
-
DefaultRemoteRepository
public DefaultRemoteRepository(org.eclipse.aether.repository.RemoteRepository repository)
-
-
Method Details
-
getRepository
public org.eclipse.aether.repository.RemoteRepository getRepository() -
getId
Description copied from interface:Repository
Gets the identifier of this repository.- Specified by:
getId
in interfaceRepository
- Returns:
- the (case-sensitive) identifier, never
null
-
getType
Description copied from interface:Repository
Gets the type of the repository, for example "default".- Specified by:
getType
in interfaceRepository
- Returns:
- the (case-sensitive) type of the repository, never
null
-
getUrl
- Specified by:
getUrl
in interfaceRemoteRepository
-
getProtocol
- Specified by:
getProtocol
in interfaceRemoteRepository
-