org.exoplatform.social.extras.feedmash.consumer
Class JiraFeedConsumer
java.lang.Object
org.exoplatform.social.extras.feedmash.AbstractFeedmashJob
org.exoplatform.social.extras.feedmash.consumer.JiraFeedConsumer
- All Implemented Interfaces:
- org.quartz.Job
public class JiraFeedConsumer
- extends AbstractFeedmashJob
Republishes some entries selected from a JIRA feed as activities into an activity stream.
- Version:
- $Revision$
- Author:
- Patrice Lamarque
|
Method Summary |
protected boolean |
accept(com.sun.syndication.feed.synd.SyndEntryImpl entry)
A feed entry is accepted if its title matches "categoryMatch". |
void |
beforeJobExecute(org.quartz.JobDataMap dataMap)
|
protected void |
handle(com.sun.syndication.feed.synd.SyndEntryImpl entry)
Publish the entry title as an activity on the 'targetActivityStream' |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JiraFeedConsumer
public JiraFeedConsumer()
accept
protected boolean accept(com.sun.syndication.feed.synd.SyndEntryImpl entry)
- A feed entry is accepted if its title matches "categoryMatch".
- Specified by:
accept in class AbstractFeedmashJob
handle
protected void handle(com.sun.syndication.feed.synd.SyndEntryImpl entry)
- Publish the entry title as an activity on the 'targetActivityStream'
- Specified by:
handle in class AbstractFeedmashJob
beforeJobExecute
public void beforeJobExecute(org.quartz.JobDataMap dataMap)
- Overrides:
beforeJobExecute in class AbstractFeedmashJob
Copyright © 2003-2013 eXo Platform SAS. All Rights Reserved.