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

org.apache.archiva.rss.processor
Class NewVersionsOfArtifactRssFeedProcessor

Package class diagram package NewVersionsOfArtifactRssFeedProcessor
java.lang.Object
  extended by org.apache.archiva.rss.processor.AbstractArtifactsRssFeedProcessor
      extended by org.apache.archiva.rss.processor.NewVersionsOfArtifactRssFeedProcessor
All Implemented Interfaces:
RssFeedProcessor

public class NewVersionsOfArtifactRssFeedProcessor
extends AbstractArtifactsRssFeedProcessor

Retrieve and process new versions of an artifact from the database and generate a rss feed. The versions will be grouped by the date when the artifact was gathered. Each group will appear as one entry in the feed.


Field Summary
 
Fields inherited from interface org.apache.archiva.rss.processor.RssFeedProcessor
KEY_ARTIFACT_ID, KEY_GROUP_ID, KEY_REPO_ID
 
Constructor Summary
NewVersionsOfArtifactRssFeedProcessor()
           
 
Method Summary
 ArtifactDAO getArtifactDAO()
           
 java.lang.String getDescription()
           
 RssFeedGenerator getGenerator()
           
 java.lang.String getTitle()
           
 com.sun.syndication.feed.synd.SyndFeed process(java.util.Map<java.lang.String,java.lang.String> reqParams)
          Process all versions of the artifact which had a rss feed request.
 void setArtifactDAO(ArtifactDAO artifactDAO)
           
 void setGenerator(RssFeedGenerator generator)
           
 
Methods inherited from class org.apache.archiva.rss.processor.AbstractArtifactsRssFeedProcessor
processData
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NewVersionsOfArtifactRssFeedProcessor

public NewVersionsOfArtifactRssFeedProcessor()
Method Detail

process

public com.sun.syndication.feed.synd.SyndFeed process(java.util.Map<java.lang.String,java.lang.String> reqParams)
                                               throws ArchivaDatabaseException
Process all versions of the artifact which had a rss feed request.

Specified by:
process in interface RssFeedProcessor
Specified by:
process in class AbstractArtifactsRssFeedProcessor
Throws:
ArchivaDatabaseException

getTitle

public java.lang.String getTitle()
Specified by:
getTitle in class AbstractArtifactsRssFeedProcessor

getDescription

public java.lang.String getDescription()
Specified by:
getDescription in class AbstractArtifactsRssFeedProcessor

getGenerator

public RssFeedGenerator getGenerator()

setGenerator

public void setGenerator(RssFeedGenerator generator)

getArtifactDAO

public ArtifactDAO getArtifactDAO()

setArtifactDAO

public void setArtifactDAO(ArtifactDAO artifactDAO)