public class RefreshDocuments extends CrawlerCommand implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
protected java.lang.Integer |
maxAgeS |
protected java.lang.String |
prefix |
crawlerName
Constructor and Description |
---|
RefreshDocuments()
Creates a new
RefreshDocuments instance. |
RefreshDocuments(RefreshDocuments o)
Creates a new
RefreshDocuments instance by deeply copying a given RefreshDocuments instance. |
Modifier and Type | Method and Description |
---|---|
RefreshDocuments |
clone()
Creates and returns a deep copy of this object.
|
int |
getMaxAgeS()
(default: 0)
|
java.lang.String |
getPrefix()
If not null, refresh only documents whose url matches this prefix.
|
void |
setMaxAgeS(java.lang.Integer value)
Sets the value of the maxAgeS property.
|
void |
setPrefix(java.lang.String value)
Sets the value of the prefix property.
|
RefreshDocuments |
withCrawlerName(java.lang.String value) |
RefreshDocuments |
withMaxAgeS(java.lang.Integer value) |
RefreshDocuments |
withPrefix(java.lang.String value) |
getCrawlerName, setCrawlerName
public RefreshDocuments()
RefreshDocuments
instance.public RefreshDocuments(RefreshDocuments o)
RefreshDocuments
instance by deeply copying a given RefreshDocuments
instance.o
- The instance to copy.java.lang.NullPointerException
- if o
is null
.public java.lang.String getPrefix()
String
public void setPrefix(java.lang.String value)
value
- allowed object is
String
public int getMaxAgeS()
Integer
public void setMaxAgeS(java.lang.Integer value)
value
- allowed object is
Integer
public RefreshDocuments withPrefix(java.lang.String value)
public RefreshDocuments withMaxAgeS(java.lang.Integer value)
public RefreshDocuments withCrawlerName(java.lang.String value)
withCrawlerName
in class CrawlerCommand
public RefreshDocuments clone()
clone
in class CrawlerCommand
Copyright © 2021 Dassault Systèmes, All Rights Reserved.