public interface Repository
Repository is a container holding repositories. Unlike in case of Maven repositories, artifacts in XMvn repository
don't necessarily need to have unique paths -- one artifact can be stored in one of multiple locations. Methods or
Repository
interface support multiple artifact paths.
Modifier and Type | Method and Description |
---|---|
String |
getNamespace() |
Path |
getPrimaryArtifactPath(Artifact artifact,
ArtifactContext context,
String pattern)
Obtain the preferred path to given artifact in this repository.
|
Path getPrimaryArtifactPath(Artifact artifact, ArtifactContext context, String pattern)
Returned path is relative to the repository base.
artifact
- context
- TODOpattern
- TODOString getNamespace()
Copyright © 2012–2015 Red Hat, Inc.. All rights reserved.