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 ConfManager
public Map<String,String> getAsMap(String confId)
getAsMap
in interface ConfManager
public void setProperty(String confId, String propName, String propValue)
setProperty
in interface ConfManager
public Set<String> list()
list
in interface ConfManager
public String create(NutchConfig nutchConfig)
create
in interface ConfManager
NutchConfig
- public void delete(String confId)
delete
in interface ConfManager
Copyright © 2015 The Apache Software Foundation