Class AbstractAdminWebItemBean

java.lang.Object
com.atlassian.administration.quicksearch.impl.spi.AbstractAdminWebItemBean
All Implemented Interfaces:
AdminWebItem
Direct Known Subclasses:
AdminLinkBean, AdminLinkSectionBean

public abstract class AbstractAdminWebItemBean extends Object implements AdminWebItem
Abstract implementation of AdminWebItem as an immutable bean.
Since:
1.0
  • Constructor Details

    • AbstractAdminWebItemBean

      public AbstractAdminWebItemBean(@Nullable String id, @Nullable String label, @Nullable Map<String,String> params)
  • Method Details

    • getId

      @Nullable public String getId()
      Description copied from interface: AdminWebItem
      Unique ID of the web item. Can be null, e.g. if an item (link, section) is dynamically generated.
      Specified by:
      getId in interface AdminWebItem
      Returns:
      ID of the link
    • getLabel

      @Nullable 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
    • getParameters

      @Nonnull public Map<String,String> getParameters()
      Description copied from interface: AdminWebItem
      Custom parameters configured for this web item
      Specified by:
      getParameters in interface AdminWebItem
      Returns:
      map of custom parameters