public class CrawlSchedulerConfig
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
protected java.lang.Long |
redirectionsPriority |
protected java.lang.Long |
refreshPriority |
protected java.lang.Long |
toFollowPriority |
protected java.lang.Long |
toIndexAndFollowPriority |
protected java.lang.Long |
toIndexPriority |
protected java.lang.Long |
userSubmittedPriority |
Constructor and Description |
---|
CrawlSchedulerConfig()
Creates a new
CrawlSchedulerConfig instance. |
CrawlSchedulerConfig(CrawlSchedulerConfig o)
Creates a new
CrawlSchedulerConfig instance by deeply copying a given CrawlSchedulerConfig instance. |
Modifier and Type | Method and Description |
---|---|
CrawlSchedulerConfig |
clone()
Creates and returns a deep copy of this object.
|
long |
getRedirectionsPriority()
(default: 500)
|
long |
getRefreshPriority()
(default: 1)
|
long |
getToFollowPriority()
(default: 10)
|
long |
getToIndexAndFollowPriority()
(default: 100)
|
long |
getToIndexPriority()
(default: 1000)
|
long |
getUserSubmittedPriority()
Fifo priorities.
|
void |
setRedirectionsPriority(java.lang.Long value)
Sets the value of the redirectionsPriority property.
|
void |
setRefreshPriority(java.lang.Long value)
Sets the value of the refreshPriority property.
|
void |
setToFollowPriority(java.lang.Long value)
Sets the value of the toFollowPriority property.
|
void |
setToIndexAndFollowPriority(java.lang.Long value)
Sets the value of the toIndexAndFollowPriority property.
|
void |
setToIndexPriority(java.lang.Long value)
Sets the value of the toIndexPriority property.
|
void |
setUserSubmittedPriority(java.lang.Long value)
Sets the value of the userSubmittedPriority property.
|
CrawlSchedulerConfig |
withRedirectionsPriority(java.lang.Long value) |
CrawlSchedulerConfig |
withRefreshPriority(java.lang.Long value) |
CrawlSchedulerConfig |
withToFollowPriority(java.lang.Long value) |
CrawlSchedulerConfig |
withToIndexAndFollowPriority(java.lang.Long value) |
CrawlSchedulerConfig |
withToIndexPriority(java.lang.Long value) |
CrawlSchedulerConfig |
withUserSubmittedPriority(java.lang.Long value) |
protected java.lang.Long userSubmittedPriority
protected java.lang.Long redirectionsPriority
protected java.lang.Long toIndexPriority
protected java.lang.Long toIndexAndFollowPriority
protected java.lang.Long toFollowPriority
protected java.lang.Long refreshPriority
public CrawlSchedulerConfig()
CrawlSchedulerConfig
instance.public CrawlSchedulerConfig(CrawlSchedulerConfig o)
CrawlSchedulerConfig
instance by deeply copying a given CrawlSchedulerConfig
instance.o
- The instance to copy.java.lang.NullPointerException
- if o
is null
.public long getUserSubmittedPriority()
Long
public void setUserSubmittedPriority(java.lang.Long value)
value
- allowed object is
Long
public long getRedirectionsPriority()
Long
public void setRedirectionsPriority(java.lang.Long value)
value
- allowed object is
Long
public long getToIndexPriority()
Long
public void setToIndexPriority(java.lang.Long value)
value
- allowed object is
Long
public long getToIndexAndFollowPriority()
Long
public void setToIndexAndFollowPriority(java.lang.Long value)
value
- allowed object is
Long
public long getToFollowPriority()
Long
public void setToFollowPriority(java.lang.Long value)
value
- allowed object is
Long
public long getRefreshPriority()
Long
public void setRefreshPriority(java.lang.Long value)
value
- allowed object is
Long
public CrawlSchedulerConfig withUserSubmittedPriority(java.lang.Long value)
public CrawlSchedulerConfig withRedirectionsPriority(java.lang.Long value)
public CrawlSchedulerConfig withToIndexPriority(java.lang.Long value)
public CrawlSchedulerConfig withToIndexAndFollowPriority(java.lang.Long value)
public CrawlSchedulerConfig withToFollowPriority(java.lang.Long value)
public CrawlSchedulerConfig withRefreshPriority(java.lang.Long value)
public CrawlSchedulerConfig clone()
clone
in class java.lang.Object
Copyright © 2021 Dassault Systèmes, All Rights Reserved.