abstract class SimpleRepository extends AbstractRepository
Constructor and Description |
---|
SimpleRepository(java.lang.String namespace,
java.nio.file.Path root,
org.w3c.dom.Element filter) |
Modifier and Type | Method and 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() |
getNamespace
public SimpleRepository(java.lang.String namespace, java.nio.file.Path root, org.w3c.dom.Element filter)
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)
public java.nio.file.Path getPrimaryArtifactPath(Artifact artifact, ArtifactContext context, java.lang.String pattern)
Repository
Returned path is relative to the repository base.
context
- TODOpattern
- TODOpublic java.util.Set<java.nio.file.Path> getRootPaths()
Copyright © 2012–2017 Red Hat, Inc.. All rights reserved.