Class MockMavenRepository
java.lang.Object
com.yahoo.vespa.hosted.controller.api.integration.stubs.MockMavenRepository
- All Implemented Interfaces:
MavenRepository
Mock repository for maven artifacts, that returns a static metadata.
- Author:
- jonmv
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddVersion(com.yahoo.component.Version version) Returns the id of the artifact whose releases this tracks.metadata()Returns metadata about all releases of a specific artifact to this repository.
-
Field Details
-
id
-
-
Constructor Details
-
MockMavenRepository
@Inject public MockMavenRepository() -
MockMavenRepository
-
-
Method Details
-
addVersion
public void addVersion(com.yahoo.component.Version version) -
metadata
Description copied from interface:MavenRepositoryReturns metadata about all releases of a specific artifact to this repository.- Specified by:
metadatain interfaceMavenRepository
-
artifactId
Description copied from interface:MavenRepositoryReturns the id of the artifact whose releases this tracks.- Specified by:
artifactIdin interfaceMavenRepository
-