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

org.apache.maven.archiva.converter.artifact
Class LegacyToDefaultConverter

Package class diagram package LegacyToDefaultConverter
java.lang.Object
  extended by org.apache.maven.archiva.converter.artifact.LegacyToDefaultConverter
All Implemented Interfaces:
ArtifactConverter

public class LegacyToDefaultConverter
extends java.lang.Object
implements ArtifactConverter

LegacyToDefaultConverter


Field Summary
 
Fields inherited from interface org.apache.maven.archiva.converter.artifact.ArtifactConverter
ROLE
 
Constructor Summary
LegacyToDefaultConverter()
           
 
Method Summary
 void clearWarnings()
          Clear the list of warning messages.
 void convert(org.apache.maven.artifact.Artifact artifact, org.apache.maven.artifact.repository.ArtifactRepository targetRepository)
          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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LegacyToDefaultConverter

public LegacyToDefaultConverter()
Method Detail

convert

public void convert(org.apache.maven.artifact.Artifact artifact,
                    org.apache.maven.artifact.repository.ArtifactRepository targetRepository)
             throws ArtifactConversionException
Description copied from interface: ArtifactConverter
Convert an provided artifact, and place it into the destination repository.

Specified by:
convert in interface ArtifactConverter
Parameters:
artifact - the artifact to convert.
targetRepository - the respository to send the artifact to.
Throws:
ArtifactConversionException

clearWarnings

public void clearWarnings()
Description copied from interface: ArtifactConverter
Clear the list of warning messages.

Specified by:
clearWarnings in interface ArtifactConverter

getWarnings

public java.util.Map<org.apache.maven.artifact.Artifact,java.util.List<java.lang.String>> getWarnings()
Description copied from interface: ArtifactConverter
Get the map of accumulated warnings for the conversion.

Specified by:
getWarnings in interface ArtifactConverter
Returns:
the Map<Artifact, String> warning messages.