Class DataCacheFactory
- java.lang.Object
-
- org.owasp.dependencycheck.data.cache.DataCacheFactory
-
public class DataCacheFactory extends java.lang.Object
Factory to instantiate cache repositories.- Author:
- Jeremy Long
-
-
Constructor Summary
Constructors Constructor Description DataCacheFactory(Settings settings)
Creates the data cache factory.
-
Method Summary
All 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
-
DataCacheFactory
public DataCacheFactory(Settings settings)
Creates the data cache factory.- Parameters:
settings
- the configuration settings
-
-
Method Detail
-
getNodeAuditCache
public DataCache<java.util.List<Advisory>> getNodeAuditCache()
Returns the data cache for Node Audit.- Returns:
- a references to the data cache for Node Audit
-
getPomCache
public DataCache<Model> getPomCache()
Returns the data cache for POM files.- Returns:
- a references to the data cache for POM files
-
getCentralCache
public DataCache<java.util.List<MavenArtifact>> getCentralCache()
Returns the data cache for Central search.- Returns:
- a references to the data cache for Central search
-
-