Class DataCacheFactory
- java.lang.Object
- 
- org.owasp.dependencycheck.data.cache.DataCacheFactory
 
- 
 public class DataCacheFactory extends java.lang.ObjectFactory to instantiate cache repositories.- Author:
- Jeremy Long
 
- 
- 
Constructor SummaryConstructors Constructor Description DataCacheFactory(Settings settings)Creates the data cache factory.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description DataCache<java.util.List<MavenArtifact>>getCentralCache()Returns the data cache for Central search.DataCache<java.util.List<Advisory>>getNodeAuditCache()Returns the data cache for Node Audit.DataCache<Model>getPomCache()Returns the data cache for POM files.
 
- 
- 
- 
Constructor Detail- 
DataCacheFactorypublic DataCacheFactory(Settings settings) Creates the data cache factory.- Parameters:
- settings- the configuration settings
 
 
- 
 - 
Method Detail- 
getNodeAuditCachepublic DataCache<java.util.List<Advisory>> getNodeAuditCache() Returns the data cache for Node Audit.- Returns:
- a references to the data cache for Node Audit
 
 - 
getPomCachepublic DataCache<Model> getPomCache() Returns the data cache for POM files.- Returns:
- a references to the data cache for POM files
 
 - 
getCentralCachepublic DataCache<java.util.List<MavenArtifact>> getCentralCache() Returns the data cache for Central search.- Returns:
- a references to the data cache for Central search
 
 
- 
 
-