Class MetadataCache

java.lang.Object
org.jenkinsci.plugins.JiraTestResultReporter.MetadataCache

public class MetadataCache extends Object
Created by tuicu. Cache for requests made about metadata required for configuring fields in the job configuration page (config.jelly)
  • Constructor Details

    • MetadataCache

      public MetadataCache()
  • Method Details

    • removeCacheEntry

      public void removeCacheEntry(String projectKey, String issueType)
      Method for removing the cache entry
      Parameters:
      projectKey -
      issueType -
    • getCacheEntry

      public MetadataCache.CacheEntry getCacheEntry(String projectKey, String issueType)
      Getter for a cache entry, it will first look in the map too see if there is an entry associated with the arguments, if not it will make the request for the metadata, create the entry, store it in the map and return it
      Parameters:
      projectKey -
      issueType -
      Returns: