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
-
-
Field Summary
Fields Modifier and Type Field Description static String
LINKED_REPOSITORY_ACCESS_OPTION
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @Nullable String
getIcon()
Returns IMAGE (icon) for specific repository.@Nullable String
getTooltipKey()
Returns TRANSLATION key which is used in tooltips.int
getWeight()
Get repository WEIGHT, which is used for ordering (rendering).boolean
isPrimary()
Marks repository for PRIMARY (in our case Stash and Bitbucket), is used for rendering.
-
-
-
Field Detail
-
LINKED_REPOSITORY_ACCESS_OPTION
static final String LINKED_REPOSITORY_ACCESS_OPTION
- See Also:
- Constant Field Values
-
-
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 interfacecom.atlassian.plugin.web.descriptors.WeightedDescriptor
-
-