public class

AddCommentViewIssueContextProvider

extends Object
implements CacheableContextProvider
java.lang.Object
   ↳ com.atlassian.jira.plugin.viewissue.AddCommentViewIssueContextProvider

Class Overview

Context Provider for Add Comment block on View issue page.

Summary

Public Constructors
AddCommentViewIssueContextProvider(FieldLayoutManager fieldLayoutManager)
Public Methods
Map<String, Object> getContextMap(Map<String, Object> context)
String getUniqueContextKey(Map<String, Object> context)
Return a key that is unique for the scope that this context should be scoped.
void init(Map<String, String> params)
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.jira.plugin.webfragment.CacheableContextProvider
From interface com.atlassian.plugin.web.ContextProvider

Public Constructors

public AddCommentViewIssueContextProvider (FieldLayoutManager fieldLayoutManager)

Public Methods

public Map<String, Object> getContextMap (Map<String, Object> context)

public String getUniqueContextKey (Map<String, Object> context)

Return a key that is unique for the scope that this context should be scoped. E.g. If the context is unique per issue, per user return "JRA-11234:nmenere"

Parameters
context the context passed into the getContextMap method.
Returns
  • a key that is unique for the scope that this context

public void init (Map<String, String> params)