public class ConfManagerImpl extends Object implements ConfManager
| Constructor and Description |
|---|
ConfManagerImpl() |
| Modifier and Type | Method and Description |
|---|---|
String |
create(NutchConfig nutchConfig)
Created a new configuration based on the values provided.
|
void |
delete(String confId) |
Configuration |
get(String confId)
Returns the configuration associatedConfManagerImpl with the given confId
|
Map<String,String> |
getAsMap(String confId) |
Set<String> |
list() |
void |
setProperty(String confId,
String propName,
String propValue)
Sets the given property in the configuration associated with the confId
|
public Configuration get(String confId)
get in interface ConfManagerpublic Map<String,String> getAsMap(String confId)
getAsMap in interface ConfManagerpublic void setProperty(String confId, String propName, String propValue)
setProperty in interface ConfManagerpublic Set<String> list()
list in interface ConfManagerpublic String create(NutchConfig nutchConfig)
create in interface ConfManagernutchConfig - public void delete(String confId)
delete in interface ConfManagerCopyright © 2021 The Apache Software Foundation