org.apache.archiva.converter.artifact
Interface ArtifactConverter

All Known Implementing Classes:
LegacyToDefaultConverter

public interface ArtifactConverter

ArtifactConverter


Method Summary
 void clearWarnings()
          Clear the list of warning messages.
 void convert(org.apache.maven.artifact.Artifact artifact, org.apache.maven.artifact.repository.ArtifactRepository destinationRepository)
          Convert an provided artifact, and place it into the destination repository.
 Map<org.apache.maven.artifact.Artifact,List<String>> getWarnings()
          Get the map of accumulated warnings for the conversion.
 

Method Detail

convert

void convert(org.apache.maven.artifact.Artifact artifact,
             org.apache.maven.artifact.repository.ArtifactRepository destinationRepository)
             throws ArtifactConversionException
Convert an provided artifact, and place it into the destination repository.

Parameters:
artifact - the artifact to convert.
destinationRepository - the respository to send the artifact to.
Throws:
ArtifactConversionException

getWarnings

Map<org.apache.maven.artifact.Artifact,List<String>> getWarnings()
Get the map of accumulated warnings for the conversion.

Returns:
the Map<Artifact, String> warning messages.

clearWarnings

void clearWarnings()
Clear the list of warning messages.



Copyright © 2006-2013 The Apache Software Foundation. All Rights Reserved.