Class MetadataCache
java.lang.Object
org.jenkinsci.plugins.JiraTestResultReporter.MetadataCache
Created by tuicu.
Cache for requests made about metadata required for configuring fields in the job configuration page (config.jelly)
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetCacheEntry
(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 itvoid
removeCacheEntry
(String projectKey, String issueType) Method for removing the cache entry
-
Constructor Details
-
MetadataCache
public MetadataCache()
-
-
Method Details
-
removeCacheEntry
Method for removing the cache entry- Parameters:
projectKey
-issueType
-
-
getCacheEntry
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:
-