Interface RepositoryConfigurator

All Superinterfaces:
com.atlassian.plugin.web.api.descriptors.WeightedDescriptor
All Known Implementing Classes:
RepositoryConfiguratorImpl

@ExperimentalApi public interface RepositoryConfigurator extends com.atlassian.plugin.web.api.descriptors.WeightedDescriptor
Class providing additional configuration information for a repository
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     
  • Method Summary

    Modifier and Type
    Method
    Description
    @Nullable String
    Returns IMAGE (icon) for specific repository.
    @Nullable String
    Returns TRANSLATION key which is used in tooltips.
    int
    Get repository WEIGHT, which is used for ordering (rendering).
    boolean
    Marks repository for PRIMARY (in our case Stash and Bitbucket), is used for rendering.
  • Field Details

  • Method Details

    • getIcon

      @Nullable @Nullable String getIcon()
      Returns IMAGE (icon) for specific repository.
      Returns:
      IMAGE path
    • getTooltipKey

      @Nullable @Nullable String getTooltipKey()
      Returns TRANSLATION key which is used in tooltips.
      Returns:
      TRANSLATION key
    • isPrimary

      boolean isPrimary()
      Marks repository for PRIMARY (in our case Stash and Bitbucket), is used for rendering.
    • getWeight

      int getWeight()
      Get repository WEIGHT, which is used for ordering (rendering).
      Specified by:
      getWeight in interface com.atlassian.plugin.web.api.descriptors.WeightedDescriptor