public class ConfigResource extends AbstractResource
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT |
configManager, jobManager, server
Constructor and Description |
---|
ConfigResource() |
Modifier and Type | Method and Description |
---|---|
String |
createConfig(NutchConfig newConfig) |
void |
deleteConfig(String configId) |
Map<String,String> |
getConfig(String configId) |
Set<String> |
getConfigs() |
String |
getProperty(String configId,
String propertyId) |
javax.ws.rs.core.Response |
update(String config,
String property,
String value) |
throwBadRequestException
public static final String DEFAULT
public void deleteConfig(String configId)
public String createConfig(NutchConfig newConfig)
Copyright © 2015 The Apache Software Foundation