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
-
Method Summary
Modifier and TypeMethodDescription@Nullable String
getIcon()
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
-
LINKED_REPOSITORY_ACCESS_OPTION
- See Also:
-
-
Method Details
-
getIcon
Returns IMAGE (icon) for specific repository.- Returns:
- IMAGE path
-
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.api.descriptors.WeightedDescriptor
-