org.apache.maven.plugins.site
Class SiteDescriptorArtifactMetadata

java.lang.Object
  extended by org.apache.maven.repository.legacy.metadata.AbstractArtifactMetadata
      extended by org.apache.maven.artifact.metadata.AbstractArtifactMetadata
          extended by org.apache.maven.plugins.site.SiteDescriptorArtifactMetadata
All Implemented Interfaces:
ArtifactMetadata

public class SiteDescriptorArtifactMetadata
extends AbstractArtifactMetadata

Attach a POM to an artifact.

Version:
$Id: SiteDescriptorArtifactMetadata.html 816573 2012-05-08 12:11:59Z hboutemy $
Author:
Brett Porter

Field Summary
 
Fields inherited from class org.apache.maven.repository.legacy.metadata.AbstractArtifactMetadata
artifact
 
Constructor Summary
SiteDescriptorArtifactMetadata(Artifact artifact, DecorationModel decoration, File file)
           
 
Method Summary
 String getBaseVersion()
           
 Object getKey()
           
 String getLocalFilename(ArtifactRepository repository)
           
 String getRemoteFilename()
           
 void merge(ArtifactMetadata metadata)
           
 void merge(ArtifactMetadata metadata)
           
 boolean storedInArtifactVersionDirectory()
           
 void storeInLocalRepository(ArtifactRepository localRepository, ArtifactRepository remoteRepository)
           
 String toString()
           
 
Methods inherited from class org.apache.maven.repository.legacy.metadata.AbstractArtifactMetadata
extendedToString, getArtifactId, getGroupId, storedInGroupDirectory
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.apache.maven.repository.legacy.metadata.ArtifactMetadata
extendedToString, getArtifactId, getGroupId, storedInGroupDirectory
 

Constructor Detail

SiteDescriptorArtifactMetadata

public SiteDescriptorArtifactMetadata(Artifact artifact,
                                      DecorationModel decoration,
                                      File file)
Method Detail

getRemoteFilename

public String getRemoteFilename()

getLocalFilename

public String getLocalFilename(ArtifactRepository repository)

storeInLocalRepository

public void storeInLocalRepository(ArtifactRepository localRepository,
                                   ArtifactRepository remoteRepository)
                            throws RepositoryMetadataStoreException
Throws:
RepositoryMetadataStoreException

toString

public String toString()
Overrides:
toString in class Object

storedInArtifactVersionDirectory

public boolean storedInArtifactVersionDirectory()

getBaseVersion

public String getBaseVersion()

getKey

public Object getKey()

merge

public void merge(ArtifactMetadata metadata)

merge

public void merge(ArtifactMetadata metadata)


Copyright © 2002-2012 The Apache Software Foundation. All Rights Reserved.