public abstract class IRoot
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
group |
protected java.lang.Integer |
priority |
protected java.lang.Boolean |
site |
protected java.lang.String |
url |
Constructor and Description |
---|
IRoot()
Creates a new
IRoot instance. |
IRoot(IRoot o)
Creates a new
IRoot instance by deeply copying a given IRoot instance. |
Modifier and Type | Method and Description |
---|---|
IRoot |
clone()
Creates and returns a deep copy of this object.
|
java.lang.String |
getGroup()
Key used to group rules and root urls.
|
int |
getPriority()
Priority shift.
|
java.lang.String |
getUrl()
The root url.
|
boolean |
isSite()
Enable site-mode: only crawl urls that belong to this 'site'.
|
void |
setGroup(java.lang.String value)
Sets the value of the group property.
|
void |
setPriority(java.lang.Integer value)
Sets the value of the priority property.
|
void |
setSite(java.lang.Boolean value)
Sets the value of the site property.
|
void |
setUrl(java.lang.String value)
Sets the value of the url property.
|
IRoot |
withGroup(java.lang.String value) |
IRoot |
withPriority(java.lang.Integer value) |
IRoot |
withSite(java.lang.Boolean value) |
IRoot |
withUrl(java.lang.String value) |
protected java.lang.String url
protected java.lang.Boolean site
protected java.lang.Integer priority
protected java.lang.String group
public IRoot()
IRoot
instance.public IRoot(IRoot o)
IRoot
instance by deeply copying a given IRoot
instance.o
- The instance to copy.java.lang.NullPointerException
- if o
is null
.public java.lang.String getUrl()
String
public void setUrl(java.lang.String value)
value
- allowed object is
String
public boolean isSite()
Boolean
public void setSite(java.lang.Boolean value)
value
- allowed object is
Boolean
public int getPriority()
Integer
public void setPriority(java.lang.Integer value)
value
- allowed object is
Integer
public java.lang.String getGroup()
String
public void setGroup(java.lang.String value)
value
- allowed object is
String
public IRoot withUrl(java.lang.String value)
public IRoot withSite(java.lang.Boolean value)
public IRoot withPriority(java.lang.Integer value)
public IRoot withGroup(java.lang.String value)
public IRoot clone()
clone
in class java.lang.Object
Copyright © 2021 Dassault Systèmes, All Rights Reserved.