Class BambooWebLink
java.lang.Object
com.atlassian.plugin.web.model.AbstractWebItem
com.atlassian.plugin.web.model.DefaultWebLink
com.atlassian.bamboo.plugin.web.model.BambooWebLink
- All Implemented Interfaces:
com.atlassian.plugin.web.model.WebLink
public class BambooWebLink
extends com.atlassian.plugin.web.model.DefaultWebLink
-
Constructor Summary
ConstructorsConstructorDescriptionBambooWebLink(com.atlassian.plugin.module.Element linkEl, com.atlassian.plugin.web.WebFragmentHelper webFragmentHelper, com.atlassian.plugin.web.ContextProvider contextProvider, com.atlassian.plugin.web.descriptors.WebFragmentModuleDescriptor descriptor) -
Method Summary
Modifier and TypeMethodDescriptiongetDisplayableUrl(jakarta.servlet.http.HttpServletRequest req) Render safe HTML href attribute value ready to be embedded in double quotes <a href="${item.link.getDisplayableUrl(req)}" ...getDisplayableUrl(jakarta.servlet.http.HttpServletRequest req, Map<String, Object> context) Render safe HTML href attribute value ready to be embedded in double quotes <a href="${item.link.getDisplayableUrl(req, webFragmentsContextMap)}" ...@Nullable StringgetRenderedId(Map<String, Object> context) This method will force the id to follow (relaxed) HTML standard recommendations.Methods inherited from class com.atlassian.plugin.web.model.DefaultWebLink
getAccessKey, getId, getRenderedUrl, hasAccessKeyMethods inherited from class com.atlassian.plugin.web.model.AbstractWebItem
getContextMap, getDescriptor, getWebFragmentHelperMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.atlassian.plugin.web.model.WebLink
getDescriptor
-
Constructor Details
-
BambooWebLink
public BambooWebLink(com.atlassian.plugin.module.Element linkEl, com.atlassian.plugin.web.WebFragmentHelper webFragmentHelper, com.atlassian.plugin.web.ContextProvider contextProvider, com.atlassian.plugin.web.descriptors.WebFragmentModuleDescriptor descriptor)
-
-
Method Details
-
getRenderedId
This method will force the id to follow (relaxed) HTML standard recommendations.- See Also:
-
getDisplayableUrl
public String getDisplayableUrl(jakarta.servlet.http.HttpServletRequest req, Map<String, Object> context) Render safe HTML href attribute value ready to be embedded in double quotes <a href="${item.link.getDisplayableUrl(req, webFragmentsContextMap)}" ...- Specified by:
getDisplayableUrlin interfacecom.atlassian.plugin.web.model.WebLink- Overrides:
getDisplayableUrlin classcom.atlassian.plugin.web.model.DefaultWebLink- Parameters:
req-context-- Returns:
-
getDisplayableUrl
Render safe HTML href attribute value ready to be embedded in double quotes <a href="${item.link.getDisplayableUrl(req)}" ...- Parameters:
req-- Returns:
-