@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.RepositoryExceptionpublic StorageAsset getArtifactAsset(ManagedRepository repository, ArtifactReference artifactReference) throws RepositoryException
repository - The repository, where the artifact is stored.artifactReference - The artifact reference.RepositoryExceptionCopyright © 2006–2019 The Apache Software Foundation. All rights reserved.