@Service(value="rssFeedProcessor#new-artifacts") public class NewArtifactsRssFeedProcessor extends AbstractArtifactsRssFeedProcessor
Modifier and Type | Field and Description |
---|---|
private static String |
desc |
private RssFeedGenerator |
generator |
private static TimeZone |
GMT_TIME_ZONE |
private org.slf4j.Logger |
log |
private int |
numberOfDaysBeforeNow |
private static String |
title |
KEY_ARTIFACT_ID, KEY_GROUP_ID, KEY_REPO_ID
Constructor and Description |
---|
NewArtifactsRssFeedProcessor() |
Modifier and Type | Method and Description |
---|---|
String |
getDescription() |
RssFeedGenerator |
getGenerator() |
int |
getNumberOfDaysBeforeNow() |
String |
getTitle() |
com.sun.syndication.feed.synd.SyndFeed |
process(Map<String,String> reqParams,
MetadataRepository metadataRepository)
Process the newly discovered artifacts in the repository.
|
private com.sun.syndication.feed.synd.SyndFeed |
processNewArtifactsInRepo(String repoId,
MetadataRepository metadataRepository) |
void |
setGenerator(RssFeedGenerator generator) |
void |
setNumberOfDaysBeforeNow(int numberOfDaysBeforeNow) |
private int numberOfDaysBeforeNow
private static final String title
private static final String desc
@Inject private RssFeedGenerator generator
private org.slf4j.Logger log
private static final TimeZone GMT_TIME_ZONE
public NewArtifactsRssFeedProcessor()
public com.sun.syndication.feed.synd.SyndFeed process(Map<String,String> reqParams, MetadataRepository metadataRepository) throws com.sun.syndication.io.FeedException
com.sun.syndication.io.FeedException
private com.sun.syndication.feed.synd.SyndFeed processNewArtifactsInRepo(String repoId, MetadataRepository metadataRepository) throws com.sun.syndication.io.FeedException
com.sun.syndication.io.FeedException
public String getTitle()
getTitle
in class AbstractArtifactsRssFeedProcessor
public String getDescription()
getDescription
in class AbstractArtifactsRssFeedProcessor
public RssFeedGenerator getGenerator()
public void setGenerator(RssFeedGenerator generator)
public int getNumberOfDaysBeforeNow()
public void setNumberOfDaysBeforeNow(int numberOfDaysBeforeNow)
Copyright © 2006–2023 The Apache Software Foundation. All rights reserved.