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()
RepositoryConfigurator
getIcon
in interface RepositoryConfigurator
@Nullable public String getTooltipKey()
RepositoryConfigurator
getTooltipKey
in interface RepositoryConfigurator
public boolean isPrimary()
RepositoryConfigurator
isPrimary
in interface RepositoryConfigurator
public int getWeight()
RepositoryConfigurator
getWeight
in interface RepositoryConfigurator
getWeight
in interface com.atlassian.plugin.web.descriptors.WeightedDescriptor
Copyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.