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<ICrawler> |
iCrawler |
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<ICrawler> |
getICrawler()
Gets the value of the iCrawler property.
|
boolean |
isVerbose()
(default: false)
|
void |
setVerbose(java.lang.Boolean value)
Sets the value of the verbose property.
|
CrawlConfig |
withICrawler(java.util.Collection<ICrawler> values) |
CrawlConfig |
withICrawler(ICrawler... values) |
CrawlConfig |
withVerbose(java.lang.Boolean value) |
CrawlConfig |
withVersion(java.lang.Long value) |
protected java.util.List<ICrawler> iCrawler
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<ICrawler> getICrawler()
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 iCrawler property.
For example, to add a new item, do as follows:
getICrawler().add(newItem);
Objects of the following type(s) are allowed in the list
Crawler
FeedFetcher
public boolean isVerbose()
Boolean
public void setVerbose(java.lang.Boolean value)
value
- allowed object is
Boolean
public CrawlConfig withICrawler(ICrawler... values)
public CrawlConfig withICrawler(java.util.Collection<ICrawler> 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.