public class ConfluenceIssueLinkRenderer extends DefaultIssueLinkRenderer
DEFAULT_ICON_URL
Constructor and Description |
---|
ConfluenceIssueLinkRenderer(ConfluenceIssueLinkDecoratingService confluenceIssueLinkDecoratingService,
ConfluenceGlobalIdFactory confluenceGlobalIdFactory)
Deprecated.
|
ConfluenceIssueLinkRenderer(ConfluenceIssueLinkDecoratingService confluenceIssueLinkDecoratingService,
ConfluenceGlobalIdFactory confluenceGlobalIdFactory,
JiraAuthenticationContext jiraAuthenticationContext,
ExternalLinkInNewWindow externalLinkInNewWindow) |
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
getFinalContext(RemoteIssueLink remoteIssueLink,
Map<String,Object> context)
Refer to documentation in
IssueLinkRenderer.getFinalContext(com.atlassian.jira.issue.link.RemoteIssueLink, java.util.Map) . |
boolean |
requiresAsyncLoading(RemoteIssueLink remoteIssueLink)
Refer to documentation in
IssueLinkRenderer.requiresAsyncLoading(com.atlassian.jira.issue.link.RemoteIssueLink) . |
getInitialContext
shouldDisplay
@Deprecated public ConfluenceIssueLinkRenderer(ConfluenceIssueLinkDecoratingService confluenceIssueLinkDecoratingService, ConfluenceGlobalIdFactory confluenceGlobalIdFactory)
public ConfluenceIssueLinkRenderer(ConfluenceIssueLinkDecoratingService confluenceIssueLinkDecoratingService, ConfluenceGlobalIdFactory confluenceGlobalIdFactory, JiraAuthenticationContext jiraAuthenticationContext, ExternalLinkInNewWindow externalLinkInNewWindow)
public Map<String,Object> getFinalContext(RemoteIssueLink remoteIssueLink, Map<String,Object> context)
AbstractIssueLinkRenderer
IssueLinkRenderer.getFinalContext(com.atlassian.jira.issue.link.RemoteIssueLink, java.util.Map)
.
Subclasses requiring asynchronous loading should override this method, otherwise this method will always throw an
UnsupportedOperationException
.
getFinalContext
in interface IssueLinkRenderer
getFinalContext
in class AbstractIssueLinkRenderer
remoteIssueLink
- remote issue linkcontext
- the contextual information that can be used during rendering.public boolean requiresAsyncLoading(RemoteIssueLink remoteIssueLink)
AbstractIssueLinkRenderer
IssueLinkRenderer.requiresAsyncLoading(com.atlassian.jira.issue.link.RemoteIssueLink)
.
Subclasses requiring asynchronous loading should override this method and return true, otherwise this method will always return false.
requiresAsyncLoading
in interface IssueLinkRenderer
requiresAsyncLoading
in class AbstractIssueLinkRenderer
remoteIssueLink
- remote issue linkCopyright © 2002-2024 Atlassian. All Rights Reserved.