public class BitbucketCloudRepositoryViewer extends AbstractHgWebRepositoryViewer
moduleDescriptor, templateRenderer
SELECTED_WEB_REPOSITORY_VIEWER, WEB_REPOSITORY
Constructor and Description |
---|
BitbucketCloudRepositoryViewer() |
Modifier and Type | Method and Description |
---|---|
Collection<String> |
getSupportedRepositories()
The keys for the
Repository classes that the web viewer currently supports. |
protected URI |
getUriForRepositoryData(RepositoryData repositoryData) |
void |
init(com.atlassian.plugin.ModuleDescriptor moduleDescriptor)
Initialises the Plugin with the plugin module descriptor
|
getHtmlForCommitsFull, getHtmlForCommitsSummary, getWebRepositoryUrlForCommit, getWebRepositoryUrlForCommits, getWebRepositoryUrlForDeploymentVersionCommits, getWebRepositoryUrlForDiff, getWebRepositoryUrlForFile, getWebRepositoryUrlForRevision, getWebRepositoryUrlForRevision
getKey, getName, getShortKey, populateFromConfig, populateFromParams, toConfiguration
customizeBuildRequirements, removeBuildRequirements
addDefaultValues, getEditHtml, getViewHtml, populateContextForEdit, populateContextForView, prepareConfigObject, setTemplateRenderer, validate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getKey, getName, getShortKey, populateFromParams
customizeBuildRequirements, removeBuildRequirements
addDefaultValues, isConfigurationMissing, prepareConfigObject, validate
getEditHtml, getViewHtml
populateFromConfig, toConfiguration
public void init(@NotNull com.atlassian.plugin.ModuleDescriptor moduleDescriptor)
InitablePluginModule
init
in interface InitablePluginModule
init
in class BaseBuildConfigurationAwarePlugin
moduleDescriptor
- Plugin module descriptor@NotNull public Collection<String> getSupportedRepositories()
WebRepositoryViewer
Repository
classes that the web viewer currently supports.
If list is empty or null it assumes support for all repositories.getSupportedRepositories
in interface WebRepositoryViewer
getSupportedRepositories
in class AbstractWebRepositoryViewer
@Nullable protected URI getUriForRepositoryData(RepositoryData repositoryData)
getUriForRepositoryData
in class AbstractHgWebRepositoryViewer
Copyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.