com.atlassian.jira.plugin.viewissue.issuelink
Class RemoteIssueLinkUtils
java.lang.Object
com.atlassian.jira.plugin.viewissue.issuelink.RemoteIssueLinkUtils
public class RemoteIssueLinkUtils
- extends Object
Converts a remote link to a LinkSource that is used by the velocity macro to display web links.
- Since:
- v5.0
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_RELATIONSHIP_I18N_KEY
public static final String DEFAULT_RELATIONSHIP_I18N_KEY
- See Also:
- Constant Field Values
convertToIssueLinkContexts
public static Map<String,List<IssueLinkContext>> convertToIssueLinkContexts(List<RemoteIssueLink> remoteIssueLinks,
Long issueId,
String baseUrl,
I18nHelper i18n,
com.atlassian.plugin.PluginAccessor pluginAccessor)
getFinalHtml
public static String getFinalHtml(RemoteIssueLink remoteIssueLink,
com.atlassian.plugin.PluginAccessor pluginAccessor)
- Returns the final HTML for the remote issue link.
- Parameters:
remoteIssueLink
- remote issue linkpluginAccessor
- plugin accessor
- Returns:
- final HTML for the remote issue link
- Throws:
IllegalStateException
- when the plugin providing the renderer is in invalid state
RuntimeException
- propagating from underlying RemoteIssueLinkRenderer implementation
Copyright © 2002-2015 Atlassian. All Rights Reserved.