@Service(value="ArtifactUtil#default") public class ArtifactUtil extends Object
Constructor and Description |
---|
ArtifactUtil() |
Modifier and Type | Method and Description |
---|---|
StorageAsset |
getArtifactAsset(ManagedRepository repository,
ArtifactReference artifactReference)
Returns the physical location of a given artifact in the repository.
|
Path |
getArtifactPath(ManagedRepository repository,
ArtifactReference artifactReference)
Returns the physical location of a given artifact in the repository.
|
public ArtifactUtil()
public Path getArtifactPath(ManagedRepository repository, ArtifactReference artifactReference) throws RepositoryException
repository
- The repository, where the artifact is stored.artifactReference
- The artifact reference.RepositoryException
public StorageAsset getArtifactAsset(ManagedRepository repository, ArtifactReference artifactReference) throws RepositoryException
repository
- The repository, where the artifact is stored.artifactReference
- The artifact reference.RepositoryException
Copyright © 2006–2019 The Apache Software Foundation. All rights reserved.