Package org.apache.nutch.service.impl
Class ConfManagerImpl
- java.lang.Object
- 
- org.apache.nutch.service.impl.ConfManagerImpl
 
- 
- All Implemented Interfaces:
- ConfManager
 
 public class ConfManagerImpl extends Object implements ConfManager 
- 
- 
Constructor SummaryConstructors Constructor Description ConfManagerImpl()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringcreate(NutchConfig nutchConfig)Created a new configuration based on the values provided.voiddelete(String confId)Configurationget(String confId)Returns the configuration associatedConfManagerImpl with the given confIdMap<String,String>getAsMap(String confId)Set<String>list()voidsetProperty(String confId, String propName, String propValue)Sets the given property in the configuration associated with the confId
 
- 
- 
- 
Method Detail- 
getpublic Configuration get(String confId) Returns the configuration associatedConfManagerImpl with the given confId- Specified by:
- getin interface- ConfManager
 
 - 
getAsMappublic Map<String,String> getAsMap(String confId) - Specified by:
- getAsMapin interface- ConfManager
 
 - 
setPropertypublic void setProperty(String confId, String propName, String propValue) Sets the given property in the configuration associated with the confId- Specified by:
- setPropertyin interface- ConfManager
 
 - 
listpublic Set<String> list() - Specified by:
- listin interface- ConfManager
 
 - 
createpublic String create(NutchConfig nutchConfig) Created a new configuration based on the values provided.- Specified by:
- createin interface- ConfManager
- Parameters:
- nutchConfig- crawler configuration
- Returns:
- String - confId
 
 - 
deletepublic void delete(String confId) - Specified by:
- deletein interface- ConfManager
 
 
- 
 
-