Class MockMavenRepository
- java.lang.Object
-
- com.yahoo.vespa.hosted.controller.api.integration.stubs.MockMavenRepository
-
- All Implemented Interfaces:
MavenRepository
public class MockMavenRepository extends Object implements MavenRepository
Mock repository for maven artifacts, that returns a static metadata.- Author:
- jonmv
-
-
Field Summary
Fields Modifier and Type Field Description static ArtifactIdid
-
Constructor Summary
Constructors Constructor Description MockMavenRepository()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ArtifactIdartifactId()Returns the id of the artifact whose releases this tracks.Metadatametadata()Returns metadata about all releases of a specific artifact to this repository.
-
-
-
Field Detail
-
id
public static final ArtifactId id
-
-
Method Detail
-
metadata
public Metadata metadata()
Description copied from interface:MavenRepositoryReturns metadata about all releases of a specific artifact to this repository.- Specified by:
metadatain interfaceMavenRepository
-
artifactId
public ArtifactId artifactId()
Description copied from interface:MavenRepositoryReturns the id of the artifact whose releases this tracks.- Specified by:
artifactIdin interfaceMavenRepository
-
-