|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.plugin.webresource.WebResourceManagerImpl com.atlassian.jira.plugin.webresource.JiraWebResourceManagerImpl
public class JiraWebResourceManagerImpl
A simple subclass of WebResourceManagerImpl that allows us to override some of its behaviour
Field Summary |
---|
Fields inherited from class com.atlassian.plugin.webresource.WebResourceManagerImpl |
---|
batchingConfiguration, dependencyResolver, pageBuilderService, pluginResourceLocator, webResourceIntegration, webResourceUrlProvider |
Constructor Summary | |
---|---|
JiraWebResourceManagerImpl(ApplicationProperties appProps,
com.atlassian.plugin.webresource.PluginResourceLocator pluginResourceLocator,
com.atlassian.plugin.webresource.WebResourceIntegration webResourceIntegration,
com.atlassian.plugin.webresource.WebResourceUrlProvider webResourceUrlProvider,
com.atlassian.plugin.webresource.ResourceBatchingConfiguration batchingConfiguration)
|
Method Summary | |
---|---|
Map<String,String> |
getMetadata()
Returns the map of key-value pairs added via JiraWebResourceManager.putMetadata(String, String) . |
boolean |
putMetadata(String key,
String value)
Adds key-value String pairs to a map to be rendered later. |
Methods inherited from class com.atlassian.plugin.webresource.WebResourceManagerImpl |
---|
executeInNewContext, getRequestLocalAssembledResources, getRequestLocalRequiredResources, getRequiredResources, getRequiredResources, getRequiredResources, getRequiredResources, getResourceTags, getResourceTags, getStaticPluginResource, getStaticPluginResource, getStaticPluginResource, getStaticPluginResource, getStaticResourcePrefix, getStaticResourcePrefix, includeResources, includeResources, includeResources, includeResources, requireResource, requireResource, requireResource, requireResourcesForContext |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.atlassian.plugin.webresource.WebResourceManager |
---|
executeInNewContext, getRequiredResources, getRequiredResources, getRequiredResources, getResourceTags, getResourceTags, getStaticPluginResource, getStaticPluginResource, getStaticPluginResource, getStaticPluginResource, getStaticResourcePrefix, getStaticResourcePrefix, includeResources, includeResources, includeResources, includeResources, requireResource, requireResource, requireResource, requireResourcesForContext |
Constructor Detail |
---|
public JiraWebResourceManagerImpl(ApplicationProperties appProps, com.atlassian.plugin.webresource.PluginResourceLocator pluginResourceLocator, com.atlassian.plugin.webresource.WebResourceIntegration webResourceIntegration, com.atlassian.plugin.webresource.WebResourceUrlProvider webResourceUrlProvider, com.atlassian.plugin.webresource.ResourceBatchingConfiguration batchingConfiguration)
Method Detail |
---|
public boolean putMetadata(String key, String value)
JiraWebResourceManager
putMetadata
in interface JiraWebResourceManager
key
- a unique key to store the value againstvalue
- an HTML-safe string
public Map<String,String> getMetadata()
JiraWebResourceManager
JiraWebResourceManager.putMetadata(String, String)
.
Should return an empty map and log a warning if called more than once in a request.
getMetadata
in interface JiraWebResourceManager
JiraWebResourceManager.putMetadata(String, String)
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |