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