public class Feed extends IRoot implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
protected java.lang.Boolean |
findFeeds |
protected java.lang.Boolean |
findMediaLinks |
protected java.lang.Boolean |
forceFeedMimeType |
protected java.lang.Boolean |
indexFeedItems |
protected java.lang.Boolean |
indexItemDocuments |
protected java.util.List<KeyValue> |
keyValue |
protected java.lang.Integer |
refreshPeriodS |
Constructor and Description |
---|
Feed()
Creates a new
Feed instance. |
Feed(Feed o)
Creates a new
Feed instance by deeply copying a given Feed instance. |
Modifier and Type | Method and Description |
---|---|
Feed |
clone()
Creates and returns a deep copy of this object.
|
java.util.List<KeyValue> |
getKeyValue()
Gets the value of the keyValue property.
|
int |
getRefreshPeriodS()
how often to refresh this feed, default 10min (default: 600)
|
boolean |
isFindFeeds()
whether to crawl feeds found in html headers (default: false)
|
boolean |
isFindMediaLinks()
find
|
boolean |
isForceFeedMimeType()
can't work with findFeeds enabled.
|
boolean |
isIndexFeedItems()
whether to index all items found in the feed with metas, before crawling them (default: true)
|
boolean |
isIndexItemDocuments()
whether to crawl the items and index the full item pages (default: true)
|
void |
setFindFeeds(java.lang.Boolean value)
Sets the value of the findFeeds property.
|
void |
setFindMediaLinks(java.lang.Boolean value)
Sets the value of the findMediaLinks property.
|
void |
setForceFeedMimeType(java.lang.Boolean value)
Sets the value of the forceFeedMimeType property.
|
void |
setIndexFeedItems(java.lang.Boolean value)
Sets the value of the indexFeedItems property.
|
void |
setIndexItemDocuments(java.lang.Boolean value)
Sets the value of the indexItemDocuments property.
|
void |
setRefreshPeriodS(java.lang.Integer value)
Sets the value of the refreshPeriodS property.
|
Feed |
withFindFeeds(java.lang.Boolean value) |
Feed |
withFindMediaLinks(java.lang.Boolean value) |
Feed |
withForceFeedMimeType(java.lang.Boolean value) |
Feed |
withGroup(java.lang.String value) |
Feed |
withIndexFeedItems(java.lang.Boolean value) |
Feed |
withIndexItemDocuments(java.lang.Boolean value) |
Feed |
withKeyValue(java.util.Collection<KeyValue> values) |
Feed |
withKeyValue(KeyValue... values) |
Feed |
withPriority(java.lang.Integer value) |
Feed |
withRefreshPeriodS(java.lang.Integer value) |
Feed |
withSite(java.lang.Boolean value) |
Feed |
withUrl(java.lang.String value) |
getGroup, getPriority, getUrl, isSite, setGroup, setPriority, setSite, setUrl
protected java.util.List<KeyValue> keyValue
protected java.lang.Integer refreshPeriodS
protected java.lang.Boolean indexFeedItems
protected java.lang.Boolean indexItemDocuments
protected java.lang.Boolean findFeeds
protected java.lang.Boolean forceFeedMimeType
protected java.lang.Boolean findMediaLinks
public Feed()
Feed
instance.public Feed(Feed o)
Feed
instance by deeply copying a given Feed
instance.o
- The instance to copy.java.lang.NullPointerException
- if o
is null
.public java.util.List<KeyValue> getKeyValue()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set
method for the keyValue property.
For example, to add a new item, do as follows:
getKeyValue().add(newItem);
Objects of the following type(s) are allowed in the list
KeyValue
public int getRefreshPeriodS()
Integer
public void setRefreshPeriodS(java.lang.Integer value)
value
- allowed object is
Integer
public boolean isIndexFeedItems()
Boolean
public void setIndexFeedItems(java.lang.Boolean value)
value
- allowed object is
Boolean
public boolean isIndexItemDocuments()
Boolean
public void setIndexItemDocuments(java.lang.Boolean value)
value
- allowed object is
Boolean
public boolean isFindFeeds()
Boolean
public void setFindFeeds(java.lang.Boolean value)
value
- allowed object is
Boolean
public boolean isForceFeedMimeType()
Boolean
public void setForceFeedMimeType(java.lang.Boolean value)
value
- allowed object is
Boolean
public boolean isFindMediaLinks()
Boolean
public void setFindMediaLinks(java.lang.Boolean value)
value
- allowed object is
Boolean
public Feed withRefreshPeriodS(java.lang.Integer value)
public Feed withIndexFeedItems(java.lang.Boolean value)
public Feed withIndexItemDocuments(java.lang.Boolean value)
public Feed withFindFeeds(java.lang.Boolean value)
public Feed withForceFeedMimeType(java.lang.Boolean value)
public Feed withFindMediaLinks(java.lang.Boolean value)
public Feed withPriority(java.lang.Integer value)
withPriority
in class IRoot
Copyright © 2021 Dassault Systèmes, All Rights Reserved.