info.magnolia.module.rssaggregator
Class RSSAggregator

java.lang.Object
  extended by info.magnolia.module.rssaggregator.RSSAggregator

public class RSSAggregator
extends Object

Configuration bean of the rss aggregator module.

Author:
had

Field Summary
static String DEFAULT_CONTENT_TYPE
           
static String DEFAULT_ENCODING
           
static String DEFAULT_FEEDTYPE
           
 
Constructor Summary
RSSAggregator()
           
 
Method Summary
 void addFeedGenerator(String name, FeedGenerator feedGenerator)
           
 boolean getAutomatedImport()
           
 String getCron()
           
 Map<String,FeedGenerator> getFeedGenerators()
           
 RSSFeedFetcher getFetcher()
           
static RSSAggregator getInstance()
           
 int getMonthsIncluded()
           
 Map<String,String> getPlanetOptions()
           
 void mapRSSJob(String name)
           
 void registerObservation(RSSJob job)
           
 void setAutomatedImport(boolean automatedImport)
           
 void setCron(String cron)
           
 void setFeedGenerators(HashMap<String,FeedGenerator> feedGenerators)
           
 void setFetcher(RSSFeedFetcher fetcher)
           
 void setPlanetOptions(Map<String,String> planetOptions)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_FEEDTYPE

public static final String DEFAULT_FEEDTYPE
See Also:
Constant Field Values

DEFAULT_ENCODING

public static final String DEFAULT_ENCODING
See Also:
Constant Field Values

DEFAULT_CONTENT_TYPE

public static final String DEFAULT_CONTENT_TYPE
See Also:
Constant Field Values
Constructor Detail

RSSAggregator

public RSSAggregator()
Method Detail

getInstance

public static RSSAggregator getInstance()

getFeedGenerators

public Map<String,FeedGenerator> getFeedGenerators()

setFeedGenerators

public void setFeedGenerators(HashMap<String,FeedGenerator> feedGenerators)

addFeedGenerator

public void addFeedGenerator(String name,
                             FeedGenerator feedGenerator)

getMonthsIncluded

public int getMonthsIncluded()

getPlanetOptions

public Map<String,String> getPlanetOptions()

setPlanetOptions

public void setPlanetOptions(Map<String,String> planetOptions)

setFetcher

public void setFetcher(RSSFeedFetcher fetcher)

getFetcher

public RSSFeedFetcher getFetcher()

setCron

public void setCron(String cron)

getCron

public String getCron()

setAutomatedImport

public void setAutomatedImport(boolean automatedImport)

getAutomatedImport

public boolean getAutomatedImport()

mapRSSJob

public void mapRSSJob(String name)
               throws javax.jcr.RepositoryException
Throws:
javax.jcr.RepositoryException

registerObservation

public void registerObservation(RSSJob job)


Copyright © 2014 Magnolia International Ltd.. All Rights Reserved.