Class SimpleRepository
- java.lang.Object
-
- org.fedoraproject.xmvn.repository.impl.AbstractRepository
-
- org.fedoraproject.xmvn.repository.impl.SimpleRepository
-
- All Implemented Interfaces:
Repository
- Direct Known Subclasses:
JppRepository
,MavenRepository
abstract class SimpleRepository extends AbstractRepository
-
-
Constructor Summary
Constructors Constructor Description SimpleRepository(java.lang.String namespace, java.nio.file.Path root, org.w3c.dom.Element filter)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract java.nio.file.Path
getArtifactPath(java.lang.String pattern, java.lang.String groupId, java.lang.String artifactId, java.lang.String extension, java.lang.String classifier, java.lang.String version)
java.nio.file.Path
getPrimaryArtifactPath(Artifact artifact, ArtifactContext context, java.lang.String pattern)
Obtain the preferred path to given artifact in this repository.java.util.Set<java.nio.file.Path>
getRootPaths()
-
Methods inherited from class org.fedoraproject.xmvn.repository.impl.AbstractRepository
getNamespace
-
-
-
-
Field Detail
-
root
private final java.nio.file.Path root
-
condition
private final Condition condition
-
-
Method Detail
-
getArtifactPath
protected abstract java.nio.file.Path getArtifactPath(java.lang.String pattern, java.lang.String groupId, java.lang.String artifactId, java.lang.String extension, java.lang.String classifier, java.lang.String version)
-
getPrimaryArtifactPath
public java.nio.file.Path getPrimaryArtifactPath(Artifact artifact, ArtifactContext context, java.lang.String pattern)
Description copied from interface:Repository
Obtain the preferred path to given artifact in this repository.Returned path is relative to the repository base.
context
- TODOpattern
- TODO- Returns:
- preferred artifact path
-
getRootPaths
public java.util.Set<java.nio.file.Path> getRootPaths()
-
-