public class FeedOptions extends Object
FeedBuilder
Modifier and Type | Method and Description |
---|---|
static FeedOptions |
getAuthenticated() |
ContentType[] |
getBlogSubTypes() |
static FeedOptions |
getDefault() |
String[] |
getExcludedSpaceKeys() |
String[] |
getLabels() |
int |
getMaxResults() |
ContentType[] |
getPageSubTypes() |
FeedType |
getRssType() |
Sort |
getSort() |
SpaceScope |
getSpaceScope() |
int |
getTimeSpan() |
String |
getTitle() |
ContentType[] |
getTypes() |
boolean |
isAuthenticatedFeed() |
boolean |
isShowContent() |
void |
setAuthenticatedFeed(boolean authenticatedFeed)
Sets whether to use basic HTTP authentication for the feed.
|
void |
setBlogSubTypes(ContentType... blogSubTypes) |
void |
setExcludedSpaces(String... keys) |
void |
setLabels(String... labels)
Sets the labels to retrieve a feed for.
|
void |
setMaxResults(int maxResults)
Sets the maximum number of entries in the feed.
|
void |
setPageSubTypes(ContentType... pageSubTypes) |
FeedOptions |
setRssType(FeedType rssType)
Sets the type of feed to retrieve.
|
void |
setShowContent(boolean showContent)
Sets whether to show full content in the feed or not.
|
void |
setSort(Sort sort)
Sets the sort order of the feed.
|
void |
setSpaceScope(SpaceScope spaceScope)
Set a list of spaces to return results from.
|
void |
setTimeSpan(int timeSpan)
Sets the timespan of the feed in days.
|
void |
setTitle(String title)
Sets the title of the feed.
|
void |
setTypes(ContentType... types)
Set the types of content to include in the feed.
|
public static FeedOptions getDefault()
public static FeedOptions getAuthenticated()
public ContentType[] getTypes()
public Sort getSort()
public SpaceScope getSpaceScope()
public String[] getLabels()
public FeedType getRssType()
public int getMaxResults()
public int getTimeSpan()
public String getTitle()
public boolean isAuthenticatedFeed()
public boolean isShowContent()
public void setTypes(ContentType... types)
ContentType.PAGE
.public void setSort(Sort sort)
Sort.MODIFIED
.public void setSpaceScope(SpaceScope spaceScope)
public void setLabels(String... labels)
public FeedOptions setRssType(FeedType rssType)
FeedType.RSS2
.public void setMaxResults(int maxResults)
public void setTimeSpan(int timeSpan)
public void setTitle(String title)
public void setAuthenticatedFeed(boolean authenticatedFeed)
public void setShowContent(boolean showContent)
public void setPageSubTypes(ContentType... pageSubTypes)
public ContentType[] getPageSubTypes()
public void setBlogSubTypes(ContentType... blogSubTypes)
public ContentType[] getBlogSubTypes()
public void setExcludedSpaces(String... keys)
public String[] getExcludedSpaceKeys()
Copyright © 2003–2016 Atlassian. All rights reserved.