public class Config
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
name |
protected java.util.List<com.exalead.crawl.rules.v10.Pattern> |
pattern |
protected RulesConfig |
rulesConfig |
Constructor and Description |
---|
Config()
Creates a new
Config instance. |
Config(Config o)
Creates a new
Config instance by deeply copying a given Config instance. |
Modifier and Type | Method and Description |
---|---|
Config |
clone()
Creates and returns a deep copy of this object.
|
java.lang.String |
getName()
(default: null)
|
java.util.List<com.exalead.crawl.rules.v10.Pattern> |
getPattern()
Gets the value of the pattern property.
|
RulesConfig |
getRulesConfig()
Gets the value of the rulesConfig property.
|
void |
setName(java.lang.String value)
Sets the value of the name property.
|
void |
setRulesConfig(RulesConfig value)
Sets the value of the rulesConfig property.
|
Config |
withName(java.lang.String value) |
Config |
withPattern(java.util.Collection<com.exalead.crawl.rules.v10.Pattern> values) |
Config |
withPattern(com.exalead.crawl.rules.v10.Pattern... values) |
Config |
withRulesConfig(RulesConfig value) |
protected RulesConfig rulesConfig
protected java.util.List<com.exalead.crawl.rules.v10.Pattern> pattern
protected java.lang.String name
public Config()
Config
instance.public Config(Config o)
Config
instance by deeply copying a given Config
instance.o
- The instance to copy.java.lang.NullPointerException
- if o
is null
.public RulesConfig getRulesConfig()
Auth
Addparameters
Addheaders
Cookies
Proxy
public void setRulesConfig(RulesConfig value)
value
- allowed object is
Auth
Addparameters
Addheaders
Cookies
Proxy
public java.util.List<com.exalead.crawl.rules.v10.Pattern> getPattern()
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 pattern property.
For example, to add a new item, do as follows:
getPattern().add(newItem);
Objects of the following type(s) are allowed in the list
Url
Atom
Length
Inquery
Path
Domain
Scheme
And
Host
Not
Ext
Or
Query
public java.lang.String getName()
String
public void setName(java.lang.String value)
value
- allowed object is
String
public Config withRulesConfig(RulesConfig value)
public Config withPattern(com.exalead.crawl.rules.v10.Pattern... values)
public Config withPattern(java.util.Collection<com.exalead.crawl.rules.v10.Pattern> values)
public Config withName(java.lang.String value)
public Config clone()
clone
in class java.lang.Object
Copyright © 2021 Dassault Systèmes, All Rights Reserved.