public class FeedFetcher extends ICrawler implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
protected CrawlSchedulerConfig |
crawlSchedulerConfig |
protected CustomCrawlConfig |
customCrawlConfig |
protected java.util.List<FeedFetcherSource> |
feedFetcherSource |
protected java.util.List<KeyValue> |
keyValue |
aggressive, buildGroup, crawlerServer, crawlSitemaps, defaultFetcher, enableConvertProcessor, ignoreRobotsTxt, name, nearDuplicateDetector, nthreads, patternsDetector, throttleTimeMS
Constructor and Description |
---|
FeedFetcher()
Creates a new
FeedFetcher instance. |
FeedFetcher(FeedFetcher o)
Creates a new
FeedFetcher instance by deeply copying a given FeedFetcher instance. |
Modifier and Type | Method and Description |
---|---|
FeedFetcher |
clone()
Creates and returns a deep copy of this object.
|
CrawlSchedulerConfig |
getCrawlSchedulerConfig()
Gets the value of the crawlSchedulerConfig property.
|
CustomCrawlConfig |
getCustomCrawlConfig()
Gets the value of the customCrawlConfig property.
|
java.util.List<FeedFetcherSource> |
getFeedFetcherSource()
Gets the value of the feedFetcherSource property.
|
java.util.List<KeyValue> |
getKeyValue()
Gets the value of the keyValue property.
|
void |
setCrawlSchedulerConfig(CrawlSchedulerConfig value)
Sets the value of the crawlSchedulerConfig property.
|
void |
setCustomCrawlConfig(CustomCrawlConfig value)
Sets the value of the customCrawlConfig property.
|
FeedFetcher |
withAggressive(java.lang.Boolean value) |
FeedFetcher |
withBuildGroup(java.lang.String value) |
FeedFetcher |
withCrawlerServer(java.lang.String value) |
FeedFetcher |
withCrawlSchedulerConfig(CrawlSchedulerConfig value) |
FeedFetcher |
withCrawlSitemaps(java.lang.Boolean value) |
FeedFetcher |
withCustomCrawlConfig(CustomCrawlConfig value) |
FeedFetcher |
withDefaultFetcher(java.lang.String value) |
FeedFetcher |
withEnableConvertProcessor(java.lang.Boolean value) |
FeedFetcher |
withFeedFetcherSource(java.util.Collection<FeedFetcherSource> values) |
FeedFetcher |
withFeedFetcherSource(FeedFetcherSource... values) |
FeedFetcher |
withIgnoreRobotsTxt(java.lang.Boolean value) |
FeedFetcher |
withKeyValue(java.util.Collection<KeyValue> values) |
FeedFetcher |
withKeyValue(KeyValue... values) |
FeedFetcher |
withName(java.lang.String value) |
FeedFetcher |
withNearDuplicateDetector(java.lang.Boolean value) |
FeedFetcher |
withNthreads(java.lang.Integer value) |
FeedFetcher |
withPatternsDetector(java.lang.Boolean value) |
FeedFetcher |
withThrottleTimeMS(java.lang.Integer value) |
getBuildGroup, getCrawlerServer, getDefaultFetcher, getName, getNthreads, getThrottleTimeMS, isAggressive, isCrawlSitemaps, isEnableConvertProcessor, isIgnoreRobotsTxt, isNearDuplicateDetector, isPatternsDetector, setAggressive, setBuildGroup, setCrawlerServer, setCrawlSitemaps, setDefaultFetcher, setEnableConvertProcessor, setIgnoreRobotsTxt, setName, setNearDuplicateDetector, setNthreads, setPatternsDetector, setThrottleTimeMS
protected CrawlSchedulerConfig crawlSchedulerConfig
protected CustomCrawlConfig customCrawlConfig
protected java.util.List<KeyValue> keyValue
protected java.util.List<FeedFetcherSource> feedFetcherSource
public FeedFetcher()
FeedFetcher
instance.public FeedFetcher(FeedFetcher o)
FeedFetcher
instance by deeply copying a given FeedFetcher
instance.o
- The instance to copy.java.lang.NullPointerException
- if o
is null
.public CrawlSchedulerConfig getCrawlSchedulerConfig()
CrawlSchedulerConfig
public void setCrawlSchedulerConfig(CrawlSchedulerConfig value)
value
- allowed object is
CrawlSchedulerConfig
public CustomCrawlConfig getCustomCrawlConfig()
CustomCrawlConfig
public void setCustomCrawlConfig(CustomCrawlConfig value)
value
- allowed object is
CustomCrawlConfig
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 java.util.List<FeedFetcherSource> getFeedFetcherSource()
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 feedFetcherSource property.
For example, to add a new item, do as follows:
getFeedFetcherSource().add(newItem);
Objects of the following type(s) are allowed in the list
FeedFetcherSource
public FeedFetcher withCrawlSchedulerConfig(CrawlSchedulerConfig value)
public FeedFetcher withCustomCrawlConfig(CustomCrawlConfig value)
public FeedFetcher withKeyValue(KeyValue... values)
public FeedFetcher withKeyValue(java.util.Collection<KeyValue> values)
public FeedFetcher withFeedFetcherSource(FeedFetcherSource... values)
public FeedFetcher withFeedFetcherSource(java.util.Collection<FeedFetcherSource> values)
public FeedFetcher withName(java.lang.String value)
public FeedFetcher withCrawlerServer(java.lang.String value)
withCrawlerServer
in class ICrawler
public FeedFetcher withBuildGroup(java.lang.String value)
withBuildGroup
in class ICrawler
public FeedFetcher withNthreads(java.lang.Integer value)
withNthreads
in class ICrawler
public FeedFetcher withAggressive(java.lang.Boolean value)
withAggressive
in class ICrawler
public FeedFetcher withThrottleTimeMS(java.lang.Integer value)
withThrottleTimeMS
in class ICrawler
public FeedFetcher withIgnoreRobotsTxt(java.lang.Boolean value)
withIgnoreRobotsTxt
in class ICrawler
public FeedFetcher withEnableConvertProcessor(java.lang.Boolean value)
withEnableConvertProcessor
in class ICrawler
public FeedFetcher withNearDuplicateDetector(java.lang.Boolean value)
withNearDuplicateDetector
in class ICrawler
public FeedFetcher withPatternsDetector(java.lang.Boolean value)
withPatternsDetector
in class ICrawler
public FeedFetcher withDefaultFetcher(java.lang.String value)
withDefaultFetcher
in class ICrawler
public FeedFetcher withCrawlSitemaps(java.lang.Boolean value)
withCrawlSitemaps
in class ICrawler
public FeedFetcher clone()
Copyright © 2021 Dassault Systèmes, All Rights Reserved.