Class JiraWebLink
java.lang.Object
com.atlassian.jira.plugin.webfragment.model.JiraWebLink
- All Implemented Interfaces:
SettableWebLink,com.atlassian.plugin.web.model.WebLink
public class JiraWebLink
extends Object
implements com.atlassian.plugin.web.model.WebLink, SettableWebLink
A jira specific wrapper for the
DefaultWebLink-
Constructor Summary
ConstructorsConstructorDescriptionJiraWebLink(JiraAuthenticationContext authenticationContext) JiraWebLink(com.atlassian.plugin.web.model.WebLink webLink, JiraAuthenticationContext authenticationContext) -
Method Summary
Modifier and TypeMethodDescriptiongetAccessKey(ApplicationUser remoteUser, JiraHelper jiraHelper) getAccessKey(Map context) com.atlassian.plugin.web.api.descriptors.WebFragmentModuleDescriptorgetDisplayableUrl(ApplicationUser remoteUser, JiraHelper jiraHelper) getDisplayableUrl(javax.servlet.http.HttpServletRequest req, Map context) getId()getRenderedUrl(ApplicationUser remoteUser, JiraHelper jiraHelper) getRenderedUrl(Map context) booleanprotected MapmakeContext(ApplicationUser remoteUser, JiraHelper jiraHelper) voidsetLink(com.atlassian.plugin.web.model.WebLink link) Provides access to the passedWebLink.
-
Constructor Details
-
JiraWebLink
-
JiraWebLink
public JiraWebLink(com.atlassian.plugin.web.model.WebLink webLink, JiraAuthenticationContext authenticationContext)
-
-
Method Details
-
getRenderedUrl
-
getDisplayableUrl
-
hasAccessKey
public boolean hasAccessKey()- Specified by:
hasAccessKeyin interfacecom.atlassian.plugin.web.model.WebLink
-
getAccessKey
-
getId
- Specified by:
getIdin interfacecom.atlassian.plugin.web.model.WebLink
-
makeContext
-
getRenderedUrl
- Specified by:
getRenderedUrlin interfacecom.atlassian.plugin.web.model.WebLink
-
getDisplayableUrl
- Specified by:
getDisplayableUrlin interfacecom.atlassian.plugin.web.model.WebLink
-
getAccessKey
- Specified by:
getAccessKeyin interfacecom.atlassian.plugin.web.model.WebLink
-
getDescriptor
public com.atlassian.plugin.web.api.descriptors.WebFragmentModuleDescriptor getDescriptor()- Specified by:
getDescriptorin interfacecom.atlassian.plugin.web.model.WebLink
-
setLink
public void setLink(com.atlassian.plugin.web.model.WebLink link) Description copied from interface:SettableWebLinkProvides access to the passedWebLink.- Specified by:
setLinkin interfaceSettableWebLink
-