public class RemoteJiraIssueLinkRenderer extends DefaultIssueLinkRenderer
DEFAULT_ICON_URL
Constructor and Description |
---|
RemoteJiraIssueLinkRenderer(JiraRemoteIssueLinkDecoratingService jiraRemoteIssueLinkDecoratingService,
RemoteJiraGlobalIdFactory remoteJiraGlobalIdFactory)
Deprecated.
|
RemoteJiraIssueLinkRenderer(JiraRemoteIssueLinkDecoratingService jiraRemoteIssueLinkDecoratingService,
RemoteJiraGlobalIdFactory remoteJiraGlobalIdFactory,
UserPreferencesManager userPreferencesManager,
JiraAuthenticationContext jiraAuthenticationContext,
VelocityRequestContextFactory velocityRequestContextFactory,
FeatureManager featureManager,
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 RemoteJiraIssueLinkRenderer(JiraRemoteIssueLinkDecoratingService jiraRemoteIssueLinkDecoratingService, RemoteJiraGlobalIdFactory remoteJiraGlobalIdFactory)
public RemoteJiraIssueLinkRenderer(JiraRemoteIssueLinkDecoratingService jiraRemoteIssueLinkDecoratingService, RemoteJiraGlobalIdFactory remoteJiraGlobalIdFactory, UserPreferencesManager userPreferencesManager, JiraAuthenticationContext jiraAuthenticationContext, VelocityRequestContextFactory velocityRequestContextFactory, FeatureManager featureManager, 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-2021 Atlassian. All Rights Reserved.