Class DefaultSolrChangesService
- java.lang.Object
-
- de.hybris.e2e.hybrisrootcauseanalysis.changeanalysis.services.impl.DefaultSolrChangesService
-
- All Implemented Interfaces:
E2EChangesPropertiesService
public class DefaultSolrChangesService extends java.lang.Object implements E2EChangesPropertiesService
Read dynamic SOLR configuration changes into properties file
-
-
Field Summary
-
Fields inherited from interface de.hybris.e2e.hybrisrootcauseanalysis.changeanalysis.services.E2EChangesPropertiesService
FULLSTOP
-
-
Constructor Summary
Constructors Constructor Description DefaultSolrChangesService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Properties
getInfo()
java.lang.String
getNameFile()
boolean
isSorted()
void
saveToProperties(SolrFacetSearchConfigModel model, java.util.Properties prop, java.lang.String name)
void
setNameFile(java.lang.String nameFile)
void
setSolrFacetSearchConfigDao(SolrFacetSearchConfigDao solrFacetSearchConfigDao)
void
setSorted(boolean sorted)
-
-
-
Method Detail
-
getInfo
public java.util.Properties getInfo()
- Specified by:
getInfo
in interfaceE2EChangesPropertiesService
- Returns:
- collected dynamic configuration
-
saveToProperties
public void saveToProperties(SolrFacetSearchConfigModel model, java.util.Properties prop, java.lang.String name)
- Parameters:
model
-name
-prop
-
-
getNameFile
public java.lang.String getNameFile()
- Specified by:
getNameFile
in interfaceE2EChangesPropertiesService
- Returns:
- name of destination file to be read by diagnostic agent basing on CCDB template
-
isSorted
public boolean isSorted()
- Specified by:
isSorted
in interfaceE2EChangesPropertiesService
- Returns:
- should the properties be sorted
-
setSorted
public void setSorted(boolean sorted)
- Parameters:
sorted
- the sorted to set
-
setSolrFacetSearchConfigDao
public void setSolrFacetSearchConfigDao(SolrFacetSearchConfigDao solrFacetSearchConfigDao)
- Parameters:
solrFacetSearchConfigDao
- the solrFacetSearchConfigDao to set
-
setNameFile
public void setNameFile(java.lang.String nameFile)
- Parameters:
nameFile
- the nameFile to set
-
-