public abstract class ISource
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Class and Description |
---|---|
static class |
ISource.MimeTypes
Java class for anonymous complex type.
|
static class |
ISource.QueryParameterBlacklist
Java class for anonymous complex type.
|
static class |
ISource.Rules
Java class for anonymous complex type.
|
Modifier and Type | Field and Description |
---|---|
protected java.lang.Boolean |
defaultFollow |
protected java.lang.Boolean |
defaultFollowRoots |
protected java.lang.Boolean |
defaultIndex |
protected java.lang.Boolean |
disableConditionalGet |
protected java.lang.Boolean |
enableSimpleSiteCollapsing |
protected java.lang.String |
fetcher |
protected java.util.List<KeyValue> |
keyValue |
protected ISource.MimeTypes |
mimeTypes |
protected java.lang.String |
mimeTypesMode |
protected java.lang.String |
name |
protected ISource.QueryParameterBlacklist |
queryParameterBlacklist |
protected ISource.Rules |
rules |
protected java.lang.Long |
simpleSiteCollapsingDepth |
Constructor and Description |
---|
ISource()
Creates a new
ISource instance. |
ISource(ISource o)
Creates a new
ISource instance by deeply copying a given ISource instance. |
Modifier and Type | Method and Description |
---|---|
ISource |
clone()
Creates and returns a deep copy of this object.
|
java.lang.String |
getFetcher()
Which fetcher to use with urls from this source.
|
java.util.List<KeyValue> |
getKeyValue()
Gets the value of the keyValue property.
|
ISource.MimeTypes |
getMimeTypes()
Gets the value of the mimeTypes property.
|
java.lang.String |
getMimeTypesMode()
Mime types white/black list (default: exclude)
|
java.lang.String |
getName()
The source name.
|
ISource.QueryParameterBlacklist |
getQueryParameterBlacklist()
Query parameter blacklist.
|
ISource.Rules |
getRules()
A list of rules to define which urls are crawled, indexed and followed.
|
long |
getSimpleSiteCollapsingDepth()
How many path segments to use to generate the site collapsing ID.
|
boolean |
isDefaultFollow()
Whether to follow by default when a url matches no follow rule.
|
boolean |
isDefaultFollowRoots()
Whether to automatically follow root urls (default: true)
|
boolean |
isDefaultIndex()
Whether to index by default when a url matches no index rule.
|
boolean |
isDisableConditionalGet()
Whether to always fetch documents, even if the server tells it has not changed.
|
boolean |
isEnableSimpleSiteCollapsing()
Whether to generate a site ID suitable for document collapsing.
|
void |
setDefaultFollow(java.lang.Boolean value)
Sets the value of the defaultFollow property.
|
void |
setDefaultFollowRoots(java.lang.Boolean value)
Sets the value of the defaultFollowRoots property.
|
void |
setDefaultIndex(java.lang.Boolean value)
Sets the value of the defaultIndex property.
|
void |
setDisableConditionalGet(java.lang.Boolean value)
Sets the value of the disableConditionalGet property.
|
void |
setEnableSimpleSiteCollapsing(java.lang.Boolean value)
Sets the value of the enableSimpleSiteCollapsing property.
|
void |
setFetcher(java.lang.String value)
Sets the value of the fetcher property.
|
void |
setMimeTypes(ISource.MimeTypes value)
Sets the value of the mimeTypes property.
|
void |
setMimeTypesMode(java.lang.String value)
Sets the value of the mimeTypesMode property.
|
void |
setName(java.lang.String value)
Sets the value of the name property.
|
void |
setQueryParameterBlacklist(ISource.QueryParameterBlacklist value)
Sets the value of the queryParameterBlacklist property.
|
void |
setRules(ISource.Rules value)
Sets the value of the rules property.
|
void |
setSimpleSiteCollapsingDepth(java.lang.Long value)
Sets the value of the simpleSiteCollapsingDepth property.
|
ISource |
withDefaultFollow(java.lang.Boolean value) |
ISource |
withDefaultFollowRoots(java.lang.Boolean value) |
ISource |
withDefaultIndex(java.lang.Boolean value) |
ISource |
withDisableConditionalGet(java.lang.Boolean value) |
ISource |
withEnableSimpleSiteCollapsing(java.lang.Boolean value) |
ISource |
withFetcher(java.lang.String value) |
ISource |
withKeyValue(java.util.Collection<KeyValue> values) |
ISource |
withKeyValue(KeyValue... values) |
ISource |
withMimeTypes(ISource.MimeTypes value) |
ISource |
withMimeTypesMode(java.lang.String value) |
ISource |
withName(java.lang.String value) |
ISource |
withQueryParameterBlacklist(ISource.QueryParameterBlacklist value) |
ISource |
withRules(ISource.Rules value) |
ISource |
withSimpleSiteCollapsingDepth(java.lang.Long value) |
protected java.util.List<KeyValue> keyValue
protected ISource.Rules rules
protected ISource.MimeTypes mimeTypes
protected ISource.QueryParameterBlacklist queryParameterBlacklist
protected java.lang.String name
protected java.lang.String fetcher
protected java.lang.Boolean disableConditionalGet
protected java.lang.Boolean defaultIndex
protected java.lang.Boolean defaultFollow
protected java.lang.Boolean defaultFollowRoots
protected java.lang.Boolean enableSimpleSiteCollapsing
protected java.lang.Long simpleSiteCollapsingDepth
protected java.lang.String mimeTypesMode
public ISource()
ISource
instance.public ISource(ISource o)
ISource
instance by deeply copying a given ISource
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 ISource.Rules getRules()
ISource.Rules
public void setRules(ISource.Rules value)
value
- allowed object is
ISource.Rules
public ISource.MimeTypes getMimeTypes()
ISource.MimeTypes
public void setMimeTypes(ISource.MimeTypes value)
value
- allowed object is
ISource.MimeTypes
public ISource.QueryParameterBlacklist getQueryParameterBlacklist()
ISource.QueryParameterBlacklist
public void setQueryParameterBlacklist(ISource.QueryParameterBlacklist value)
value
- allowed object is
ISource.QueryParameterBlacklist
public java.lang.String getName()
String
public void setName(java.lang.String value)
value
- allowed object is
String
public java.lang.String getFetcher()
String
public void setFetcher(java.lang.String value)
value
- allowed object is
String
public boolean isDisableConditionalGet()
Boolean
public void setDisableConditionalGet(java.lang.Boolean value)
value
- allowed object is
Boolean
public boolean isDefaultIndex()
Boolean
public void setDefaultIndex(java.lang.Boolean value)
value
- allowed object is
Boolean
public boolean isDefaultFollow()
Boolean
public void setDefaultFollow(java.lang.Boolean value)
value
- allowed object is
Boolean
public boolean isDefaultFollowRoots()
Boolean
public void setDefaultFollowRoots(java.lang.Boolean value)
value
- allowed object is
Boolean
public boolean isEnableSimpleSiteCollapsing()
Boolean
public void setEnableSimpleSiteCollapsing(java.lang.Boolean value)
value
- allowed object is
Boolean
public long getSimpleSiteCollapsingDepth()
Long
public void setSimpleSiteCollapsingDepth(java.lang.Long value)
value
- allowed object is
Long
public java.lang.String getMimeTypesMode()
String
public void setMimeTypesMode(java.lang.String value)
value
- allowed object is
String
public ISource withRules(ISource.Rules value)
public ISource withMimeTypes(ISource.MimeTypes value)
public ISource withQueryParameterBlacklist(ISource.QueryParameterBlacklist value)
public ISource withName(java.lang.String value)
public ISource withFetcher(java.lang.String value)
public ISource withDisableConditionalGet(java.lang.Boolean value)
public ISource withDefaultIndex(java.lang.Boolean value)
public ISource withDefaultFollow(java.lang.Boolean value)
public ISource withDefaultFollowRoots(java.lang.Boolean value)
public ISource withEnableSimpleSiteCollapsing(java.lang.Boolean value)
public ISource withSimpleSiteCollapsingDepth(java.lang.Long value)
public ISource withMimeTypesMode(java.lang.String value)
public ISource clone()
clone
in class java.lang.Object
Copyright © 2021 Dassault Systèmes, All Rights Reserved.