This project has retired. For details please refer to its Attic page.
ArtifactConverter

org.apache.maven.archiva.converter.artifact
Interface ArtifactConverter

Package class diagram package ArtifactConverter
All Known Implementing Classes:
LegacyToDefaultConverter

public interface ArtifactConverter

ArtifactConverter


Field Summary
static java.lang.String ROLE
           
 
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.
 java.util.Map<org.apache.maven.artifact.Artifact,java.util.List<java.lang.String>> getWarnings()
          Get the map of accumulated warnings for the conversion.
 

Field Detail

ROLE

static final java.lang.String ROLE
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

java.util.Map<org.apache.maven.artifact.Artifact,java.util.List<java.lang.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.