Interface RepositoryConfigurator

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

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

      • 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.descriptors.WeightedDescriptor