public class ParamCollector extends Object
Modifier and Type | Field and Description |
---|---|
protected Map<String,String> |
configurationParams |
protected Map<String,String> |
connectParams |
static String |
Key |
Constructor and Description |
---|
ParamCollector() |
Modifier and Type | Method and Description |
---|---|
void |
addConfigurationParam(String name,
String value) |
void |
addConnectParam(String name,
String value) |
void |
changeDBTemplate(String templateName) |
void |
collectConfigurationParams(javax.servlet.http.HttpServletRequest req) |
Map<String,String> |
getChangedParameters() |
ConfigurationGenerator |
getConfigurationGenerator() |
String |
getConfigurationParam(String name) |
String |
getConfigurationParam(String name,
String defaultValue) |
Map<String,String> |
getConfigurationParams() |
String |
getConfigurationParamValue(String name) |
Map<String,String> |
getConnectParams() |
boolean |
isSectionSkipped(String section) |
void |
removeDbKeys() |
public static final String Key
protected Map<String,String> configurationParams
protected Map<String,String> connectParams
public ParamCollector()
public ConfigurationGenerator getConfigurationGenerator()
public boolean isSectionSkipped(String section)
public void addConfigurationParam(String name, String value)
public void addConnectParam(String name, String value)
public Map<String,String> getConfigurationParams()
public Map<String,String> getChangedParameters()
public String getConfigurationParam(String name)
public String getConfigurationParam(String name, String defaultValue)
public String getConfigurationParamValue(String name)
public Map<String,String> getConnectParams()
public void collectConfigurationParams(javax.servlet.http.HttpServletRequest req)
public void changeDBTemplate(String templateName)
templateName
- database template to useConfigurationGenerator.changeDBTemplate(String)
public void removeDbKeys()
Copyright © 2017 Nuxeo. All rights reserved.