public class RefreshSources extends CrawlerCommand implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Class and Description |
---|---|
static class |
RefreshSources.Sources
Java class for anonymous complex type.
|
Modifier and Type | Field and Description |
---|---|
protected java.lang.Boolean |
ignoreStamp |
protected java.lang.Integer |
maxAgeS |
protected RefreshSources.Sources |
sources |
crawlerName
Constructor and Description |
---|
RefreshSources()
Creates a new
RefreshSources instance. |
RefreshSources(RefreshSources o)
Creates a new
RefreshSources instance by deeply copying a given RefreshSources instance. |
Modifier and Type | Method and Description |
---|---|
RefreshSources |
clone()
Creates and returns a deep copy of this object.
|
int |
getMaxAgeS()
(default: 0)
|
RefreshSources.Sources |
getSources()
Gets the value of the sources property.
|
boolean |
isIgnoreStamp()
Whether to repush documents even though they haven't changed (default: false)
|
void |
setIgnoreStamp(java.lang.Boolean value)
Sets the value of the ignoreStamp property.
|
void |
setMaxAgeS(java.lang.Integer value)
Sets the value of the maxAgeS property.
|
void |
setSources(RefreshSources.Sources value)
Sets the value of the sources property.
|
RefreshSources |
withCrawlerName(java.lang.String value) |
RefreshSources |
withIgnoreStamp(java.lang.Boolean value) |
RefreshSources |
withMaxAgeS(java.lang.Integer value) |
RefreshSources |
withSources(RefreshSources.Sources value) |
getCrawlerName, setCrawlerName
protected RefreshSources.Sources sources
protected java.lang.Integer maxAgeS
protected java.lang.Boolean ignoreStamp
public RefreshSources()
RefreshSources
instance.public RefreshSources(RefreshSources o)
RefreshSources
instance by deeply copying a given RefreshSources
instance.o
- The instance to copy.java.lang.NullPointerException
- if o
is null
.public RefreshSources.Sources getSources()
RefreshSources.Sources
public void setSources(RefreshSources.Sources value)
value
- allowed object is
RefreshSources.Sources
public int getMaxAgeS()
Integer
public void setMaxAgeS(java.lang.Integer value)
value
- allowed object is
Integer
public boolean isIgnoreStamp()
Boolean
public void setIgnoreStamp(java.lang.Boolean value)
value
- allowed object is
Boolean
public RefreshSources withSources(RefreshSources.Sources value)
public RefreshSources withMaxAgeS(java.lang.Integer value)
public RefreshSources withIgnoreStamp(java.lang.Boolean value)
public RefreshSources withCrawlerName(java.lang.String value)
withCrawlerName
in class CrawlerCommand
public RefreshSources clone()
clone
in class CrawlerCommand
Copyright © 2021 Dassault Systèmes, All Rights Reserved.