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 -
Method Summary
Modifier and TypeMethodDescription@Nullable StringgetIcon()Returns IMAGE (icon) for specific repository.@Nullable StringReturns TRANSLATION key which is used in tooltips.intGet repository WEIGHT, which is used for ordering (rendering).booleanMarks 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:
getWeightin interfacecom.atlassian.plugin.web.api.descriptors.WeightedDescriptor
-