public interface CommitUrlProvider extends WebRepositoryViewer
SELECTED_WEB_REPOSITORY_VIEWER, WEB_REPOSITORY
Modifier and Type | Method and Description |
---|---|
String |
getWebRepositoryUrlForCommit(Commit commit,
RepositoryData repositoryData)
Provide the url to link to the given commit in the web repository
|
Map<Commit,String> |
getWebRepositoryUrlForCommits(Collection<Commit> commits,
RepositoryData repositoryDefinition)
Provide the urls to link all the given commits in the web repository
|
String |
getWebRepositoryUrlForRevision(String revisionId,
RepositoryData repositoryData)
Provide the url to link to the given revision in the web repository
|
getHtmlForCommitsFull, getHtmlForCommitsSummary, getKey, getName, getShortKey, getSupportedRepositories, populateFromParams
customizeBuildRequirements, removeBuildRequirements
addDefaultValues, isConfigurationMissing, prepareConfigObject, validate
init
getEditHtml, getViewHtml
populateFromConfig, toConfiguration
@Nullable String getWebRepositoryUrlForCommit(Commit commit, @NotNull RepositoryData repositoryData)
commit
- the commit to links torepositoryData
- the repository type the commit came from@Nullable String getWebRepositoryUrlForRevision(String revisionId, @NotNull RepositoryData repositoryData)
revisionId
- the revision to links torepositoryData
- the repository type the commit came fromMap<Commit,String> getWebRepositoryUrlForCommits(Collection<Commit> commits, RepositoryData repositoryDefinition)
commits
- to generate links forrepositoryDefinition
- the repository type the commit came fromCopyright © 2018 Atlassian Software Systems Pty Ltd. All rights reserved.