public interface ArtifactTransformationManager
| Modifier and Type | Method and Description |
|---|---|
List<ArtifactTransformation> |
getArtifactTransformations() |
void |
transformForDeployment(Artifact artifact,
ArtifactRepository remoteRepository,
ArtifactRepository localRepository)
Take in a artifact and return the transformed artifact for distributing to a remote repository.
|
void |
transformForInstall(Artifact artifact,
ArtifactRepository localRepository)
Take in a artifact and return the transformed artifact for locating in the local repository.
|
void |
transformForResolve(Artifact artifact,
List<ArtifactRepository> remoteRepositories,
ArtifactRepository localRepository)
Take in a artifact and return the transformed artifact for locating in the remote repository.
|
void |
transformForResolve(Artifact artifact,
RepositoryRequest request)
Take in a artifact and return the transformed artifact for locating in the remote repository.
|
static final String ROLE
void transformForResolve(Artifact artifact, RepositoryRequest request) throws ArtifactResolutionException, ArtifactNotFoundException
artifact - Artifact to be transformed.request - the repositories to checkArtifactResolutionExceptionArtifactNotFoundExceptionvoid transformForResolve(Artifact artifact, List<ArtifactRepository> remoteRepositories, ArtifactRepository localRepository) throws ArtifactResolutionException, ArtifactNotFoundException
artifact - Artifact to be transformed.remoteRepositories - the repositories to checklocalRepository - the local repositoryArtifactResolutionExceptionArtifactNotFoundExceptionvoid transformForInstall(Artifact artifact, ArtifactRepository localRepository) throws ArtifactInstallationException
artifact - Artifact to be transformed.localRepository - the local repository it will be stored inArtifactInstallationExceptionvoid transformForDeployment(Artifact artifact, ArtifactRepository remoteRepository, ArtifactRepository localRepository) throws ArtifactDeploymentException
artifact - Artifact to be transformed.remoteRepository - the repository to deploy tolocalRepository - the local repository the metadata is stored inArtifactDeploymentExceptionList<ArtifactTransformation> getArtifactTransformations()
Copyright © 2001–2021 The Apache Software Foundation. All rights reserved.