public class DefaultIssueLinkRenderer extends AbstractIssueLinkRenderer
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_ICON_URL |
Constructor and Description |
---|
DefaultIssueLinkRenderer() |
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
getInitialContext(RemoteIssueLink remoteIssueLink,
Map<String,Object> context)
Returns the context used by the template to render the initial HTML.
|
getFinalContext, requiresAsyncLoading, shouldDisplay
public static final String DEFAULT_ICON_URL
public Map<String,Object> getInitialContext(RemoteIssueLink remoteIssueLink, Map<String,Object> context)
IssueLinkRenderer
IssueLinkRenderer.getFinalContext(RemoteIssueLink, Map)
for that purpose.
The resulting HTML will be injected as follows:
<dl class="links-list">
<dt>Relationship Text</dt>
<!-- ... Other Issue Links ... -->
<dd id="uniqueHtmlElementId" class="remote-link">
<div class="link-content">
<!-- ISSUE LINK RENDERER CONTENT HERE -->
</div>
<p>
<div class="delete-link" id="delete_uniqueHtmlElementId">
<a class="icon icon-delete" title="Delete Link" id="delete-link_uniqueHtmlElementId" href="delete_remote_issue_link_url"><span>Delete Link</span></a>
</div>
</dd>
<!-- ... Other Issue Links ... -->
</dl>
remoteIssueLink
- remote issue linkcontext
- the contextual information that can be used during
rendering.Copyright © 2002-2019 Atlassian. All Rights Reserved.