Class DataCacheFactory

java.lang.Object
org.owasp.dependencycheck.data.cache.DataCacheFactory

public class DataCacheFactory extends Object
Factory to instantiate cache repositories.
Author:
Jeremy Long
  • Constructor Details

    • DataCacheFactory

      public DataCacheFactory(Settings settings)
      Creates the data cache factory.
      Parameters:
      settings - the configuration settings
  • Method Details

    • getNodeAuditCache

      public DataCache<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<List<MavenArtifact>> getCentralCache()
      Returns the data cache for Central search.
      Returns:
      a references to the data cache for Central search