|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.archive.crawler.framework.ProcessorChainList
public class ProcessorChainList
A list of all the ProcessorChains.
Constructor Summary | |
---|---|
ProcessorChainList(CrawlOrder order)
Constructs a new ProcessorChainList. |
Method Summary | |
---|---|
void |
addProcessorMap(java.lang.String name,
MapType processorMap)
Add a new chain of processors to the chain list. |
ProcessorChain |
getFirstChain()
Get the first processor chain. |
ProcessorChain |
getLastChain()
Get the last processor chain. |
ProcessorChain |
getProcessorChain(int index)
Get a processor chain by its index in the list of chains. |
ProcessorChain |
getProcessorChain(java.lang.String name)
Get a processor chain by its name. |
java.util.Iterator |
iterator()
Get an iterator over the processor chains. |
void |
kickUpdate()
|
int |
processorCount()
Get the total number of all processors in all the chains. |
int |
size()
Get the number of processor chains. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ProcessorChainList(CrawlOrder order) throws FatalConfigurationException
order
- the Crawl Order to get configuration from.
FatalConfigurationException
- is thrown if chains could not be
set up properly.Method Detail |
---|
public void addProcessorMap(java.lang.String name, MapType processorMap)
processorMap
- the processor map to be added.public ProcessorChain getFirstChain()
public ProcessorChain getLastChain()
public int processorCount()
public java.util.Iterator iterator()
public int size()
public ProcessorChain getProcessorChain(int index)
index
- the chains index in the list of chains.
public ProcessorChain getProcessorChain(java.lang.String name)
name
- name of the processor chain to get.
public void kickUpdate()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |