Class AbstractAttachmentLink

  • Direct Known Subclasses:
    AttachmentLink, DraftAttachmentLink

    public abstract class AbstractAttachmentLink
    extends com.atlassian.renderer.links.BaseLink
    Class represents a link to an attachment.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected Attachment attachment  
      • Fields inherited from class com.atlassian.renderer.links.Link

        aliasSpecified, iconName, linkBody, relativeUrl, title, titleArgs, titleKey, url, wikiDestination, wikiTitle
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected AbstractAttachmentLink​(com.atlassian.renderer.links.GenericLinkParser genericLinkParser)  
    • Constructor Detail

      • AbstractAttachmentLink

        protected AbstractAttachmentLink​(com.atlassian.renderer.links.GenericLinkParser genericLinkParser)
    • Method Detail

      • getAttachment

        public @Nullable Attachment getAttachment()
        Returns:
        attachment the link points to
      • getLinkBody

        public String getLinkBody()
        Overrides:
        getLinkBody in class com.atlassian.renderer.links.Link