Class DefaultAdminLink

java.lang.Object
com.atlassian.administration.quicksearch.impl.spi.AbstractDefaultAdminWebItem<com.atlassian.plugin.web.api.descriptors.WebItemModuleDescriptor>
com.atlassian.administration.quicksearch.impl.spi.DefaultAdminLink
All Implemented Interfaces:
AdminLink, AdminWebItem

public class DefaultAdminLink extends AbstractDefaultAdminWebItem<com.atlassian.plugin.web.api.descriptors.WebItemModuleDescriptor> implements AdminLink
Default implementation of AdminLink based on the Atlassian web-fragments API.
Since:
1.0
  • Constructor Details

    • DefaultAdminLink

      public DefaultAdminLink(com.atlassian.plugin.web.api.descriptors.WebItemModuleDescriptor descriptor, RenderingContext context)
  • Method Details

    • getLinkUrl

      @Nonnull public String getLinkUrl()
      Description copied from interface: AdminLink
      Get URL of this admin link.
      Specified by:
      getLinkUrl in interface AdminLink
      Returns:
      URL of the link
    • getLabel

      public String getLabel()
      Description copied from interface: AdminWebItem
      Human readable label of the item. Can be null.
      Specified by:
      getLabel in interface AdminWebItem
      Returns:
      label of the item