public class RepositoryConfiguratorImpl extends Object implements RepositoryConfigurator
| Modifier and Type | Field and Description |
|---|---|
static RepositoryConfigurator |
DEFAULT |
LINKED_REPOSITORY_ACCESS_OPTION| Constructor and Description |
|---|
RepositoryConfiguratorImpl(int weight,
boolean isPrimary,
String icon,
String tooltipKey) |
| Modifier and Type | Method and Description |
|---|---|
String |
getIcon()
Returns IMAGE (icon) for specific repository.
|
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.
|
public static RepositoryConfigurator DEFAULT
@Nullable public String getIcon()
RepositoryConfiguratorgetIcon in interface RepositoryConfigurator@Nullable public String getTooltipKey()
RepositoryConfiguratorgetTooltipKey in interface RepositoryConfiguratorpublic boolean isPrimary()
RepositoryConfiguratorisPrimary in interface RepositoryConfiguratorpublic int getWeight()
RepositoryConfiguratorgetWeight in interface RepositoryConfiguratorgetWeight in interface com.atlassian.plugin.web.descriptors.WeightedDescriptorCopyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.