com.atlassian.jira.plugin.link.confluence.render
Class ConfluenceIssueLinkRenderer
java.lang.Object
com.atlassian.jira.plugin.issuelink.AbstractIssueLinkRenderer
com.atlassian.jira.plugin.viewissue.issuelink.DefaultIssueLinkRenderer
com.atlassian.jira.plugin.link.confluence.render.ConfluenceIssueLinkRenderer
- All Implemented Interfaces:
- IssueLinkRenderer
public class ConfluenceIssueLinkRenderer
- extends DefaultIssueLinkRenderer
Renders issue links to Confluence pages.
- Since:
- v5.0
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConfluenceIssueLinkRenderer
public ConfluenceIssueLinkRenderer(ConfluenceIssueLinkDecoratingService confluenceIssueLinkDecoratingService,
ConfluenceGlobalIdFactory confluenceGlobalIdFactory)
getFinalContext
public Map<String,Object> getFinalContext(RemoteIssueLink remoteIssueLink,
Map<String,Object> context)
- Description copied from class:
AbstractIssueLinkRenderer
- Refer to documentation in
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
.
- Specified by:
getFinalContext
in interface IssueLinkRenderer
- Overrides:
getFinalContext
in class AbstractIssueLinkRenderer
- Parameters:
remoteIssueLink
- remote issue linkcontext
- the contextual information that can be used during rendering.
- Returns:
- velocity context used to render the final HTML
requiresAsyncLoading
public boolean requiresAsyncLoading(RemoteIssueLink remoteIssueLink)
- Description copied from class:
AbstractIssueLinkRenderer
- Refer to documentation in
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.
- Specified by:
requiresAsyncLoading
in interface IssueLinkRenderer
- Overrides:
requiresAsyncLoading
in class AbstractIssueLinkRenderer
- Parameters:
remoteIssueLink
- remote issue link
- Returns:
- false by default
Copyright © 2002-2012 Atlassian. All Rights Reserved.