public class ConfigurationFileProxy extends Object
Modifier and Type | Field and Description |
---|---|
static String |
CATALOG_SOLR_COLLECTION_NAME |
static String |
DEFAULT_SOLR_CONFIG_PARENT_DIR |
static String |
DEFAULT_SOLR_DATA_PARENT_DIR |
protected static List<String> |
SOLR_CONFIG_FILES |
Constructor and Description |
---|
ConfigurationFileProxy(ConfigurationStore configurationStore)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
File |
getDataDirectory() |
URL |
getResource(String configFilename,
String core)
Gets the URL of a configuration file given the file and Solr core names.
|
String |
toString() |
public static final String DEFAULT_SOLR_CONFIG_PARENT_DIR
public static final String DEFAULT_SOLR_DATA_PARENT_DIR
public static final String CATALOG_SOLR_COLLECTION_NAME
public ConfigurationFileProxy(ConfigurationStore configurationStore)
configurationStore
- configuration store that will be used to retrieve the configuration
informationpublic File getDataDirectory()
public URL getResource(String configFilename, String core)
configFilename
- name of the configutation file to getcore
- name of the Solr coreThis work is licensed under a Creative Commons Attribution 4.0 International License.