@PublicSpi public abstract class AbstractIssueLinkRenderer extends Object implements IssueLinkRenderer
Constructor and Description |
---|
AbstractIssueLinkRenderer() |
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) . |
boolean |
shouldDisplay(RemoteIssueLink remoteIssueLink)
Refer to documentation in
IssueLinkRenderer.shouldDisplay(com.atlassian.jira.issue.link.RemoteIssueLink) . |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getInitialContext
public Map<String,Object> getFinalContext(RemoteIssueLink remoteIssueLink, Map<String,Object> context)
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
remoteIssueLink
- remote issue linkcontext
- the contextual information that can be used during rendering.public boolean requiresAsyncLoading(RemoteIssueLink remoteIssueLink)
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
remoteIssueLink
- remote issue linkpublic boolean shouldDisplay(RemoteIssueLink remoteIssueLink)
IssueLinkRenderer.shouldDisplay(com.atlassian.jira.issue.link.RemoteIssueLink)
.shouldDisplay
in interface IssueLinkRenderer
remoteIssueLink
- remote issue linkCopyright © 2002-2019 Atlassian. All Rights Reserved.