public class CustomCrawlConfig extends java.lang.Object implements com.exalead.util.Checkable, java.io.Serializable, Cloneable
Modifier and Type | Field and Description |
---|---|
java.lang.String |
crawlerTemplate |
java.lang.String |
fetcherClassId |
java.lang.String |
htmlProcessorClassId |
java.lang.String |
linksFilterClassId |
java.lang.String |
postProcessorClassId |
java.lang.String |
preProcessorClassId |
java.lang.String |
processorClassId |
Constructor and Description |
---|
CustomCrawlConfig() |
CustomCrawlConfig(CustomCrawlConfig o)
Copy constructor
|
Modifier and Type | Method and Description |
---|---|
void |
check(boolean deep,
java.lang.String errorContext)
Checks this CustomCrawlConfig.
|
CustomCrawlConfig |
clone()
Creates and returns a deep copy of this CustomCrawlConfig.
|
static CustomCrawlConfig |
fromString(java.lang.String s)
String representation of this CustomCrawlConfig.
|
java.lang.String |
getCrawlerTemplate()
Alternatively, specify the url of a xml file describing the whole crawler.
|
java.lang.String |
getFetcherClassId()
Custom Fetcher.
|
java.lang.String |
getHtmlProcessorClassId()
Custom HTML Processor.
Called at the of the html process pipe. |
java.lang.String |
getLinksFilterClassId()
Custom LinksFilter.
Called at the end of the links filter list. |
java.lang.String |
getPostProcessorClassId()
Custom PostProcessor.
Called at the end of the postprocess pipe. |
java.lang.String |
getPreProcessorClassId()
Custom PreProcessor.
Called at the end of the preprocess pipe. |
java.lang.String |
getProcessorClassId()
Custom Processor.
Called at the end of the process pipe. |
CustomCrawlConfig |
makeCopy()
Creates and returns a deep copy of this CustomCrawlConfig.
|
static CustomCrawlConfig |
readFrom(java.io.InputStream is)
Read this CustomCrawlConfig from an XML fragment.
|
void |
setCrawlerTemplate(java.lang.String crawlerTemplate)
Alternatively, specify the url of a xml file describing the whole crawler.
|
void |
setFetcherClassId(java.lang.String fetcherClassId)
Custom Fetcher.
|
void |
setHtmlProcessorClassId(java.lang.String htmlProcessorClassId)
Custom HTML Processor.
Called at the of the html process pipe. |
void |
setLinksFilterClassId(java.lang.String linksFilterClassId)
Custom LinksFilter.
Called at the end of the links filter list. |
void |
setPostProcessorClassId(java.lang.String postProcessorClassId)
Custom PostProcessor.
Called at the end of the postprocess pipe. |
void |
setPreProcessorClassId(java.lang.String preProcessorClassId)
Custom PreProcessor.
Called at the end of the preprocess pipe. |
void |
setProcessorClassId(java.lang.String processorClassId)
Custom Processor.
Called at the end of the process pipe. |
java.lang.String |
toString()
String representation of this CustomCrawlConfig.
|
CustomCrawlConfig |
withCrawlerTemplate(java.lang.String crawlerTemplate) |
CustomCrawlConfig |
withFetcherClassId(java.lang.String fetcherClassId) |
CustomCrawlConfig |
withHtmlProcessorClassId(java.lang.String htmlProcessorClassId) |
CustomCrawlConfig |
withLinksFilterClassId(java.lang.String linksFilterClassId) |
CustomCrawlConfig |
withPostProcessorClassId(java.lang.String postProcessorClassId) |
CustomCrawlConfig |
withPreProcessorClassId(java.lang.String preProcessorClassId) |
CustomCrawlConfig |
withProcessorClassId(java.lang.String processorClassId) |
void |
writeTo(java.io.OutputStream os)
Write this CustomCrawlConfig as an XML fragment
|
public java.lang.String preProcessorClassId
public java.lang.String fetcherClassId
public java.lang.String processorClassId
public java.lang.String htmlProcessorClassId
public java.lang.String linksFilterClassId
public java.lang.String postProcessorClassId
public java.lang.String crawlerTemplate
public CustomCrawlConfig()
public CustomCrawlConfig(CustomCrawlConfig o)
public void setPreProcessorClassId(java.lang.String preProcessorClassId)
public java.lang.String getPreProcessorClassId()
public CustomCrawlConfig withPreProcessorClassId(java.lang.String preProcessorClassId)
public void setFetcherClassId(java.lang.String fetcherClassId)
public java.lang.String getFetcherClassId()
public CustomCrawlConfig withFetcherClassId(java.lang.String fetcherClassId)
public void setProcessorClassId(java.lang.String processorClassId)
public java.lang.String getProcessorClassId()
public CustomCrawlConfig withProcessorClassId(java.lang.String processorClassId)
public void setHtmlProcessorClassId(java.lang.String htmlProcessorClassId)
public java.lang.String getHtmlProcessorClassId()
public CustomCrawlConfig withHtmlProcessorClassId(java.lang.String htmlProcessorClassId)
public void setLinksFilterClassId(java.lang.String linksFilterClassId)
public java.lang.String getLinksFilterClassId()
public CustomCrawlConfig withLinksFilterClassId(java.lang.String linksFilterClassId)
public void setPostProcessorClassId(java.lang.String postProcessorClassId)
public java.lang.String getPostProcessorClassId()
public CustomCrawlConfig withPostProcessorClassId(java.lang.String postProcessorClassId)
public void setCrawlerTemplate(java.lang.String crawlerTemplate)
public java.lang.String getCrawlerTemplate()
public CustomCrawlConfig withCrawlerTemplate(java.lang.String crawlerTemplate)
public CustomCrawlConfig clone()
clone
in class java.lang.Object
public CustomCrawlConfig makeCopy()
public static CustomCrawlConfig 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
javax.xml.bind.JAXBException
java.io.IOException
public static CustomCrawlConfig 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 java.lang.Object
public void check(boolean deep, java.lang.String errorContext) throws com.exalead.util.TypedException
check
in interface com.exalead.util.Checkable
com.exalead.util.TypedException
Copyright © 2021 Dassault Systèmes, All Rights Reserved.