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.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.
|
int |
getRefreshPeriodS()
how often to refresh this feed, default 10min (default: 600)
|
boolean |
isFindFeeds()
whether to crawl feeds found in html headers (default: true)
|
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 |
withDepth(java.lang.Integer value) |
Feed |
withFindFeeds(java.lang.Boolean value) |
Feed |
withFindMediaLinks(java.lang.Boolean value) |
Feed |
withForceFeedMimeType(java.lang.Boolean 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.Long value) |
Feed |
withRefreshPeriodS(java.lang.Integer value) |
Feed |
withUrl(java.lang.String value) |
getDepth, getKeyValue, getPriority, getUrl, setDepth, setPriority, setUrl
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 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 withKeyValue(KeyValue... values)
withKeyValue
in class Iroot
public Feed withKeyValue(java.util.Collection<KeyValue> values)
withKeyValue
in class Iroot
public Feed withPriority(java.lang.Long value)
withPriority
in class Iroot
Copyright © 2021 Dassault Systèmes, All Rights Reserved.