Class RepositoryConfiguratorImpl
java.lang.Object
com.atlassian.bamboo.repository.configuration.RepositoryConfiguratorImpl
- All Implemented Interfaces:
RepositoryConfigurator
,com.atlassian.plugin.web.api.descriptors.WeightedDescriptor
-
Field Summary
Fields inherited from interface com.atlassian.bamboo.repository.configuration.RepositoryConfigurator
LINKED_REPOSITORY_ACCESS_OPTION
-
Constructor Summary
ConstructorDescriptionRepositoryConfiguratorImpl
(int weight, boolean isPrimary, String icon, String tooltipKey) -
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
-
DEFAULT
-
-
Constructor Details
-
RepositoryConfiguratorImpl
-
-
Method Details
-
getIcon
Description copied from interface:RepositoryConfigurator
Returns IMAGE (icon) for specific repository.- Specified by:
getIcon
in interfaceRepositoryConfigurator
- Returns:
- IMAGE path
-
getTooltipKey
Description copied from interface:RepositoryConfigurator
Returns TRANSLATION key which is used in tooltips.- Specified by:
getTooltipKey
in interfaceRepositoryConfigurator
- Returns:
- TRANSLATION key
-
isPrimary
public boolean isPrimary()Description copied from interface:RepositoryConfigurator
Marks repository for PRIMARY (in our case Stash and Bitbucket), is used for rendering.- Specified by:
isPrimary
in interfaceRepositoryConfigurator
-
getWeight
public int getWeight()Description copied from interface:RepositoryConfigurator
Get repository WEIGHT, which is used for ordering (rendering).- Specified by:
getWeight
in interfaceRepositoryConfigurator
- Specified by:
getWeight
in interfacecom.atlassian.plugin.web.api.descriptors.WeightedDescriptor
-