public class SubmitRoots extends CrawlerCommand implements com.exalead.util.Checkable, java.io.Serializable, Cloneable
Modifier and Type | Field and Description |
---|---|
static boolean |
DEFAULT_FORCE |
boolean |
force |
crawlerName
Constructor and Description |
---|
SubmitRoots() |
SubmitRoots(SubmitRoots o)
Copy constructor
|
Modifier and Type | Method and Description |
---|---|
void |
check(boolean deep,
java.lang.String errorContext)
Checks this SubmitRoots.
|
SubmitRoots |
clone()
Creates and returns a deep copy of this SubmitRoots.
|
static SubmitRoots |
fromString(java.lang.String s)
String representation of this SubmitRoots.
|
boolean |
isForce()
Whether to crawl the root URLs even though they have already been crawled.
|
SubmitRoots |
makeCopy()
Creates and returns a deep copy of this SubmitRoots.
|
static SubmitRoots |
readFrom(java.io.InputStream is)
Read this SubmitRoots from an XML fragment.
|
void |
setForce(boolean force)
Whether to crawl the root URLs even though they have already been crawled.
|
java.lang.String |
toString()
String representation of this SubmitRoots.
|
SubmitRoots |
withCrawlerName(java.lang.String crawlerName) |
SubmitRoots |
withForce(boolean force) |
SubmitRoots |
withForce(java.lang.Boolean force) |
void |
writeTo(java.io.OutputStream os)
Write this SubmitRoots as an XML fragment
|
getCrawlerName, setCrawlerName
public boolean force
public static final boolean DEFAULT_FORCE
public SubmitRoots()
public SubmitRoots(SubmitRoots o)
public SubmitRoots withCrawlerName(java.lang.String crawlerName)
withCrawlerName
in class CrawlerCommand
public void setForce(boolean force)
public boolean isForce()
public SubmitRoots withForce(boolean force)
public SubmitRoots withForce(java.lang.Boolean force)
public SubmitRoots clone()
clone
in class CrawlerCommand
public SubmitRoots makeCopy()
makeCopy
in class CrawlerCommand
public static SubmitRoots readFrom(java.io.InputStream is) throws javax.xml.bind.JAXBException
javax.xml.bind.JAXBException
public void writeTo(java.io.OutputStream os) throws javax.xml.bind.JAXBException, java.io.IOException
writeTo
in class CrawlerCommand
javax.xml.bind.JAXBException
java.io.IOException
public static SubmitRoots fromString(java.lang.String s) throws javax.xml.bind.JAXBException, java.io.UnsupportedEncodingException
javax.xml.bind.JAXBException
java.io.UnsupportedEncodingException
public java.lang.String toString()
toString
in class CrawlerCommand
public void check(boolean deep, java.lang.String errorContext) throws com.exalead.util.TypedException
check
in interface com.exalead.util.Checkable
check
in class CrawlerCommand
com.exalead.util.TypedException
Copyright © 2021 Dassault Systèmes, All Rights Reserved.