|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface JiraWebResourceManager
Add some additional methods to the stock WebResourceManager that we can use in JIRA.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface com.atlassian.plugin.webresource.WebResourceManager |
---|
com.atlassian.plugin.webresource.WebResourceManager.IncludeMode |
Field Summary |
---|
Fields inherited from interface com.atlassian.plugin.webresource.WebResourceManager |
---|
DELAYED_INCLUDE_MODE, INLINE_INCLUDE_MODE |
Method Summary | |
---|---|
Map<String,String> |
getMetadata()
Returns the map of key-value pairs added via putMetadata(String, String) . |
boolean |
putMetadata(String key,
String value)
Adds key-value String pairs to a map to be rendered later. |
Methods inherited from interface com.atlassian.plugin.webresource.WebResourceManager |
---|
executeInNewContext, getRequiredResources, getRequiredResources, getRequiredResources, getResourceTags, getResourceTags, getStaticPluginResource, getStaticPluginResource, getStaticPluginResource, getStaticPluginResource, getStaticPluginResourcePrefix, getStaticResourcePrefix, getStaticResourcePrefix, getStaticResourcePrefix, getStaticResourcePrefix, includeResources, includeResources, includeResources, includeResources, requireResource, requireResource, requireResource, requireResourcesForContext, setIncludeMode |
Method Detail |
---|
boolean putMetadata(String key, String value)
key
- a unique key to store the value againstvalue
- an HTML-safe string
Map<String,String> getMetadata()
putMetadata(String, String)
.
Should return an empty map and log a warning if called more than once in a request.
putMetadata(String, String)
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |