public class CleanDocuments extends CrawlerCommand implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
prefix |
crawlerName
Constructor and Description |
---|
CleanDocuments()
Creates a new
CleanDocuments instance. |
CleanDocuments(CleanDocuments o)
Creates a new
CleanDocuments instance by deeply copying a given CleanDocuments instance. |
Modifier and Type | Method and Description |
---|---|
CleanDocuments |
clone()
Creates and returns a deep copy of this object.
|
java.lang.String |
getPrefix()
If not null, clean only documents whose url matches this prefix.
|
void |
setPrefix(java.lang.String value)
Sets the value of the prefix property.
|
CleanDocuments |
withCrawlerName(java.lang.String value) |
CleanDocuments |
withPrefix(java.lang.String value) |
getCrawlerName, setCrawlerName
public CleanDocuments()
CleanDocuments
instance.public CleanDocuments(CleanDocuments o)
CleanDocuments
instance by deeply copying a given CleanDocuments
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 CleanDocuments withPrefix(java.lang.String value)
public CleanDocuments withCrawlerName(java.lang.String value)
withCrawlerName
in class CrawlerCommand
public CleanDocuments clone()
clone
in class CrawlerCommand
Copyright © 2021 Dassault Systèmes, All Rights Reserved.