public class DefaultFeedBuilder extends Object implements FeedBuilder
Constructor and Description |
---|
DefaultFeedBuilder(SearchManager searchManager,
SettingsManager settingsManager,
DefaultPermissionManager permissionManager,
UserAccessor userAccessor,
FormatSettingsManager formatSettingsManager,
LocaleManager localeManager,
Map<String,RssRenderSupport> renderSupport,
com.atlassian.plugin.PluginAccessor pluginAccessor,
com.atlassian.event.api.EventPublisher eventPublisher) |
Modifier and Type | Method and Description |
---|---|
com.sun.syndication.feed.synd.SyndFeed |
createFeed(ISearch search,
FeedProperties feedProperties)
Constructs a feed off the specified search.
|
String |
getDomainName() |
UserAccessor |
getUserAccessor() |
public DefaultFeedBuilder(SearchManager searchManager, SettingsManager settingsManager, DefaultPermissionManager permissionManager, UserAccessor userAccessor, FormatSettingsManager formatSettingsManager, LocaleManager localeManager, Map<String,RssRenderSupport> renderSupport, com.atlassian.plugin.PluginAccessor pluginAccessor, com.atlassian.event.api.EventPublisher eventPublisher)
public com.sun.syndication.feed.synd.SyndFeed createFeed(ISearch search, FeedProperties feedProperties)
FeedBuilder
Returns an empty feed with a title and description only if search is null.
createFeed
in interface FeedBuilder
search
- the search to base the feed uponfeedProperties
- metadata for the feedpublic String getDomainName()
public UserAccessor getUserAccessor()
Copyright © 2003–2020 Atlassian. All rights reserved.