public class CrawlConfig
extends exa.bee.config.Versioned
implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
protected java.util.List<Crawler> |
crawler |
protected java.util.List<FeedFetcher> |
feedFetcher |
protected java.util.List<KeyValue> |
keyValue |
protected java.lang.Boolean |
verbose |
Constructor and Description |
---|
CrawlConfig()
Creates a new
CrawlConfig instance. |
CrawlConfig(CrawlConfig o)
Creates a new
CrawlConfig instance by deeply copying a given CrawlConfig instance. |
Modifier and Type | Method and Description |
---|---|
CrawlConfig |
clone()
Creates and returns a deep copy of this object.
|
java.util.List<Crawler> |
getCrawler()
Gets the value of the crawler property.
|
java.util.List<FeedFetcher> |
getFeedFetcher()
Gets the value of the feedFetcher property.
|
java.util.List<KeyValue> |
getKeyValue()
Gets the value of the keyValue property.
|
boolean |
isVerbose()
(default: false)
|
void |
setVerbose(java.lang.Boolean value)
Sets the value of the verbose property.
|
CrawlConfig |
withCrawler(java.util.Collection<Crawler> values) |
CrawlConfig |
withCrawler(Crawler... values) |
CrawlConfig |
withFeedFetcher(java.util.Collection<FeedFetcher> values) |
CrawlConfig |
withFeedFetcher(FeedFetcher... values) |
CrawlConfig |
withKeyValue(java.util.Collection<KeyValue> values) |
CrawlConfig |
withKeyValue(KeyValue... values) |
CrawlConfig |
withVerbose(java.lang.Boolean value) |
CrawlConfig |
withVersion(java.lang.Long value) |
protected java.util.List<KeyValue> keyValue
protected java.util.List<Crawler> crawler
protected java.util.List<FeedFetcher> feedFetcher
protected java.lang.Boolean verbose
public CrawlConfig()
CrawlConfig
instance.public CrawlConfig(CrawlConfig o)
CrawlConfig
instance by deeply copying a given CrawlConfig
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 java.util.List<Crawler> getCrawler()
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 crawler property.
For example, to add a new item, do as follows:
getCrawler().add(newItem);
Objects of the following type(s) are allowed in the list
Crawler
public java.util.List<FeedFetcher> getFeedFetcher()
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 feedFetcher property.
For example, to add a new item, do as follows:
getFeedFetcher().add(newItem);
Objects of the following type(s) are allowed in the list
FeedFetcher
public boolean isVerbose()
Boolean
public void setVerbose(java.lang.Boolean value)
value
- allowed object is
Boolean
public CrawlConfig withKeyValue(KeyValue... values)
public CrawlConfig withKeyValue(java.util.Collection<KeyValue> values)
public CrawlConfig withCrawler(Crawler... values)
public CrawlConfig withCrawler(java.util.Collection<Crawler> values)
public CrawlConfig withFeedFetcher(FeedFetcher... values)
public CrawlConfig withFeedFetcher(java.util.Collection<FeedFetcher> values)
public CrawlConfig withVerbose(java.lang.Boolean value)
public CrawlConfig withVersion(java.lang.Long value)
withVersion
in class exa.bee.config.Versioned
public CrawlConfig clone()
clone
in class exa.bee.config.Versioned
Copyright © 2021 Dassault Systèmes, All Rights Reserved.