public class FetchConfig
extends exa.bee.config.Versioned
implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Class and Description |
---|---|
static class |
FetchConfig.Mimes
Java class for anonymous complex type.
|
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
crawlCacheProxyAddress |
protected java.lang.String |
crawlCacheProxyPassword |
protected java.lang.String |
crawlCacheProxyUsername |
protected java.lang.String |
defaultFetcher |
protected java.lang.Integer |
defaultMaxSizeKB |
protected java.lang.Boolean |
defaultTruncate |
protected java.lang.String |
dnsServer |
protected java.util.List<Fetcher> |
fetcher |
protected java.lang.Integer |
fullDocumentMaxSizeKB |
protected java.lang.String |
globalProxyDomain |
protected java.lang.String |
globalProxyHost |
protected java.lang.String |
globalProxyPassword |
protected java.lang.Integer |
globalProxyPort |
protected java.lang.String |
globalProxyUsername |
protected FetchConfig.Mimes |
mimes |
protected java.lang.String |
nonProxyHosts |
Constructor and Description |
---|
FetchConfig()
Creates a new
FetchConfig instance. |
FetchConfig(FetchConfig o)
Creates a new
FetchConfig instance by deeply copying a given FetchConfig instance. |
Modifier and Type | Method and Description |
---|---|
FetchConfig |
clone()
Creates and returns a deep copy of this object.
|
java.lang.String |
getCrawlCacheProxyAddress()
Crawl through multibox (WebExperiencePlatform mode).
|
java.lang.String |
getCrawlCacheProxyPassword()
(default: null)
|
java.lang.String |
getCrawlCacheProxyUsername()
(default: null)
|
java.lang.String |
getDefaultFetcher()
(default: null)
|
int |
getDefaultMaxSizeKB()
(default: 0)
|
java.lang.String |
getDnsServer()
(default: null)
|
java.util.List<Fetcher> |
getFetcher()
Gets the value of the fetcher property.
|
int |
getFullDocumentMaxSizeKB()
(default: 32768)
|
java.lang.String |
getGlobalProxyDomain()
(default: null)
|
java.lang.String |
getGlobalProxyHost()
(default: null)
|
java.lang.String |
getGlobalProxyPassword()
(default: null)
|
int |
getGlobalProxyPort()
(default: 0)
|
java.lang.String |
getGlobalProxyUsername()
(default: null)
|
FetchConfig.Mimes |
getMimes()
Gets the value of the mimes property.
|
java.lang.String |
getNonProxyHosts()
(default: null)
|
boolean |
isDefaultTruncate()
(default: false)
|
void |
setCrawlCacheProxyAddress(java.lang.String value)
Sets the value of the crawlCacheProxyAddress property.
|
void |
setCrawlCacheProxyPassword(java.lang.String value)
Sets the value of the crawlCacheProxyPassword property.
|
void |
setCrawlCacheProxyUsername(java.lang.String value)
Sets the value of the crawlCacheProxyUsername property.
|
void |
setDefaultFetcher(java.lang.String value)
Sets the value of the defaultFetcher property.
|
void |
setDefaultMaxSizeKB(java.lang.Integer value)
Sets the value of the defaultMaxSizeKB property.
|
void |
setDefaultTruncate(java.lang.Boolean value)
Sets the value of the defaultTruncate property.
|
void |
setDnsServer(java.lang.String value)
Sets the value of the dnsServer property.
|
void |
setFullDocumentMaxSizeKB(java.lang.Integer value)
Sets the value of the fullDocumentMaxSizeKB property.
|
void |
setGlobalProxyDomain(java.lang.String value)
Sets the value of the globalProxyDomain property.
|
void |
setGlobalProxyHost(java.lang.String value)
Sets the value of the globalProxyHost property.
|
void |
setGlobalProxyPassword(java.lang.String value)
Sets the value of the globalProxyPassword property.
|
void |
setGlobalProxyPort(java.lang.Integer value)
Sets the value of the globalProxyPort property.
|
void |
setGlobalProxyUsername(java.lang.String value)
Sets the value of the globalProxyUsername property.
|
void |
setMimes(FetchConfig.Mimes value)
Sets the value of the mimes property.
|
void |
setNonProxyHosts(java.lang.String value)
Sets the value of the nonProxyHosts property.
|
FetchConfig |
withCrawlCacheProxyAddress(java.lang.String value) |
FetchConfig |
withCrawlCacheProxyPassword(java.lang.String value) |
FetchConfig |
withCrawlCacheProxyUsername(java.lang.String value) |
FetchConfig |
withDefaultFetcher(java.lang.String value) |
FetchConfig |
withDefaultMaxSizeKB(java.lang.Integer value) |
FetchConfig |
withDefaultTruncate(java.lang.Boolean value) |
FetchConfig |
withDnsServer(java.lang.String value) |
FetchConfig |
withFetcher(java.util.Collection<Fetcher> values) |
FetchConfig |
withFetcher(Fetcher... values) |
FetchConfig |
withFullDocumentMaxSizeKB(java.lang.Integer value) |
FetchConfig |
withGlobalProxyDomain(java.lang.String value) |
FetchConfig |
withGlobalProxyHost(java.lang.String value) |
FetchConfig |
withGlobalProxyPassword(java.lang.String value) |
FetchConfig |
withGlobalProxyPort(java.lang.Integer value) |
FetchConfig |
withGlobalProxyUsername(java.lang.String value) |
FetchConfig |
withMimes(FetchConfig.Mimes value) |
FetchConfig |
withNonProxyHosts(java.lang.String value) |
FetchConfig |
withVersion(java.lang.Long value) |
protected java.util.List<Fetcher> fetcher
protected FetchConfig.Mimes mimes
protected java.lang.String defaultFetcher
protected java.lang.String dnsServer
protected java.lang.Integer defaultMaxSizeKB
protected java.lang.Boolean defaultTruncate
protected java.lang.Integer fullDocumentMaxSizeKB
protected java.lang.String crawlCacheProxyAddress
protected java.lang.String crawlCacheProxyUsername
protected java.lang.String crawlCacheProxyPassword
protected java.lang.String globalProxyHost
protected java.lang.Integer globalProxyPort
protected java.lang.String globalProxyUsername
protected java.lang.String globalProxyPassword
protected java.lang.String globalProxyDomain
protected java.lang.String nonProxyHosts
public FetchConfig()
FetchConfig
instance.public FetchConfig(FetchConfig o)
FetchConfig
instance by deeply copying a given FetchConfig
instance.o
- The instance to copy.java.lang.NullPointerException
- if o
is null
.public java.util.List<Fetcher> getFetcher()
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 fetcher property.
For example, to add a new item, do as follows:
getFetcher().add(newItem);
Objects of the following type(s) are allowed in the list
Fetcher
public FetchConfig.Mimes getMimes()
FetchConfig.Mimes
public void setMimes(FetchConfig.Mimes value)
value
- allowed object is
FetchConfig.Mimes
public java.lang.String getDefaultFetcher()
String
public void setDefaultFetcher(java.lang.String value)
value
- allowed object is
String
public java.lang.String getDnsServer()
String
public void setDnsServer(java.lang.String value)
value
- allowed object is
String
public int getDefaultMaxSizeKB()
Integer
public void setDefaultMaxSizeKB(java.lang.Integer value)
value
- allowed object is
Integer
public boolean isDefaultTruncate()
Boolean
public void setDefaultTruncate(java.lang.Boolean value)
value
- allowed object is
Boolean
public int getFullDocumentMaxSizeKB()
Integer
public void setFullDocumentMaxSizeKB(java.lang.Integer value)
value
- allowed object is
Integer
public java.lang.String getCrawlCacheProxyAddress()
String
public void setCrawlCacheProxyAddress(java.lang.String value)
value
- allowed object is
String
public java.lang.String getCrawlCacheProxyUsername()
String
public void setCrawlCacheProxyUsername(java.lang.String value)
value
- allowed object is
String
public java.lang.String getCrawlCacheProxyPassword()
String
public void setCrawlCacheProxyPassword(java.lang.String value)
value
- allowed object is
String
public java.lang.String getGlobalProxyHost()
String
public void setGlobalProxyHost(java.lang.String value)
value
- allowed object is
String
public int getGlobalProxyPort()
Integer
public void setGlobalProxyPort(java.lang.Integer value)
value
- allowed object is
Integer
public java.lang.String getGlobalProxyUsername()
String
public void setGlobalProxyUsername(java.lang.String value)
value
- allowed object is
String
public java.lang.String getGlobalProxyPassword()
String
public void setGlobalProxyPassword(java.lang.String value)
value
- allowed object is
String
public java.lang.String getGlobalProxyDomain()
String
public void setGlobalProxyDomain(java.lang.String value)
value
- allowed object is
String
public java.lang.String getNonProxyHosts()
String
public void setNonProxyHosts(java.lang.String value)
value
- allowed object is
String
public FetchConfig withFetcher(Fetcher... values)
public FetchConfig withFetcher(java.util.Collection<Fetcher> values)
public FetchConfig withMimes(FetchConfig.Mimes value)
public FetchConfig withDefaultFetcher(java.lang.String value)
public FetchConfig withDnsServer(java.lang.String value)
public FetchConfig withDefaultMaxSizeKB(java.lang.Integer value)
public FetchConfig withDefaultTruncate(java.lang.Boolean value)
public FetchConfig withFullDocumentMaxSizeKB(java.lang.Integer value)
public FetchConfig withCrawlCacheProxyAddress(java.lang.String value)
public FetchConfig withCrawlCacheProxyUsername(java.lang.String value)
public FetchConfig withCrawlCacheProxyPassword(java.lang.String value)
public FetchConfig withGlobalProxyHost(java.lang.String value)
public FetchConfig withGlobalProxyPort(java.lang.Integer value)
public FetchConfig withGlobalProxyUsername(java.lang.String value)
public FetchConfig withGlobalProxyPassword(java.lang.String value)
public FetchConfig withGlobalProxyDomain(java.lang.String value)
public FetchConfig withNonProxyHosts(java.lang.String value)
public FetchConfig withVersion(java.lang.Long value)
withVersion
in class exa.bee.config.Versioned
public FetchConfig clone()
clone
in class exa.bee.config.Versioned
Copyright © 2021 Dassault Systèmes, All Rights Reserved.