com.endeca.itl.cas.api
Class CrawlConfig

java.lang.Object
  extended by com.endeca.itl.cas.api.CrawlConfig

public class CrawlConfig
extends Object

A CrawlConfig contains all information required for specifying the configuration of a crawl. The only required element is an ID for the crawl. Optional elements include number of crawl threads, logging level, source options, text extraction options, manipulator options, and output options.


Constructor Summary
CrawlConfig()
           
CrawlConfig(CrawlId crawlId)
           
 
Method Summary
 boolean equals(Object other)
           
 CrawlId getCrawlId()
          Gets the value of the crawlId property.
 Integer getCrawlThreads()
           
 LoggingLevel getLoggingLevel()
           
 List<ManipulatorConfig> getManipulatorConfigs()
           
 OutputConfig getOutputConfig()
           
 ModuleId getOutputModuleId()
          Gets the ModuleId of the embedded OutputConfig, if one is present.
 SourceConfig getSourceConfig()
           
 ModuleId getSourceModuleId()
          Gets the ModuleId of the embedded SourceConfig.
 TextExtractionConfig getTextExtractionConfig()
           
 int hashCode()
           
 void setCrawlId(CrawlId value)
           
 void setCrawlThreads(Integer value)
           
 void setLoggingLevel(LoggingLevel value)
           
 void setManipulatorConfigs(List<ManipulatorConfig> value)
           
 void setOutputConfig(OutputConfig value)
           
 void setSourceConfig(SourceConfig value)
           
 void setTextExtractionConfig(TextExtractionConfig value)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CrawlConfig

public CrawlConfig()

CrawlConfig

public CrawlConfig(CrawlId crawlId)
Method Detail

getCrawlId

public CrawlId getCrawlId()
Gets the value of the crawlId property.

Returns:
possible object is CrawlId

setCrawlId

public void setCrawlId(CrawlId value)

getCrawlThreads

public Integer getCrawlThreads()

setCrawlThreads

public void setCrawlThreads(Integer value)

getLoggingLevel

public LoggingLevel getLoggingLevel()

setLoggingLevel

public void setLoggingLevel(LoggingLevel value)

getSourceConfig

public SourceConfig getSourceConfig()

setSourceConfig

public void setSourceConfig(SourceConfig value)

getTextExtractionConfig

public TextExtractionConfig getTextExtractionConfig()

setTextExtractionConfig

public void setTextExtractionConfig(TextExtractionConfig value)

getManipulatorConfigs

public List<ManipulatorConfig> getManipulatorConfigs()

setManipulatorConfigs

public void setManipulatorConfigs(List<ManipulatorConfig> value)

getOutputConfig

public OutputConfig getOutputConfig()

setOutputConfig

public void setOutputConfig(OutputConfig value)

equals

public boolean equals(Object other)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object

getSourceModuleId

public ModuleId getSourceModuleId()
Gets the ModuleId of the embedded SourceConfig.

Returns:
moduleId

getOutputModuleId

public ModuleId getOutputModuleId()
Gets the ModuleId of the embedded OutputConfig, if one is present.

Returns:
moduleId of embedded OutputConfig, or null if no such config.


Copyright © 2007, 2012, Oracle and/or its affiliates. All rights reserved.