@Deprecated 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 |
---|---|
List<RepositoryPath> |
getArtifactPaths(Artifact artifact)
Deprecated.
Get list of possible paths to given artifact in this repository.
|
List<RepositoryPath> |
getArtifactPaths(Artifact artifact,
boolean ignoreType)
Deprecated.
Get list of possible paths to given artifact in this repository.
|
List<RepositoryPath> |
getArtifactPaths(List<Artifact> artifact)
Deprecated.
Get list of possible paths to given artifacts in this repository.
|
List<RepositoryPath> |
getArtifactPaths(List<Artifact> artifact,
boolean ignoreType)
Deprecated.
Get list of possible paths to given artifacts in this repository.
|
String |
getNamespace()
Deprecated.
|
RepositoryPath |
getPrimaryArtifactPath(Artifact artifact)
Deprecated.
Obtain the preferred path to given artifact in this repository.
|
RepositoryPath |
getPrimaryArtifactPath(Artifact artifact,
boolean ignoreType)
Deprecated.
Obtain the preferred path to given artifact in this repository.
|
RepositoryPath getPrimaryArtifactPath(Artifact artifact)
Returned path is relative to the repository base.
artifact
- RepositoryPath getPrimaryArtifactPath(Artifact artifact, boolean ignoreType)
Returned path is relative to the repository base.
artifact
- ignoreType
- whether repository artifact type should be ignoredList<RepositoryPath> getArtifactPaths(Artifact artifact)
All returned paths are relative to the repository base.
artifact
- List<RepositoryPath> getArtifactPaths(Artifact artifact, boolean ignoreType)
All returned paths are relative to the repository base.
artifact
- ignoreType
- whether repository artifact type should be ignoredList<RepositoryPath> getArtifactPaths(List<Artifact> artifact)
All returned paths are relative to the repository base.
artifacts
- list of artifacts to lookupList<RepositoryPath> getArtifactPaths(List<Artifact> artifact, boolean ignoreType)
All returned paths are relative to the repository base.
artifacts
- list of artifacts to lookupignoreType
- whether repository artifact type should be ignoredString getNamespace()
Copyright © 2012–2014 Red Hat, Inc.. All rights reserved.