Class BitbucketExternalLinkUtils
- java.lang.Object
-
- com.atlassian.bitbucket.jenkins.internal.link.BitbucketExternalLinkUtils
-
@Singleton public class BitbucketExternalLinkUtils extends Object
- Since:
- 2.1.4
-
-
Constructor Summary
Constructors Constructor Description BitbucketExternalLinkUtils()
BitbucketExternalLinkUtils(BitbucketPluginConfiguration bitbucketPluginConfiguration)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Optional<BitbucketExternalLink>
createBranchDiffLink(BitbucketSCMRepository bitbucketRepository, String branch)
Optional<BitbucketExternalLink>
createPullRequestLink(BitbucketSCMRepository bitbucketRepository, String pullRequestId)
Optional<BitbucketExternalLink>
createRepoLink(BitbucketSCMRepository bitbucketRepository)
Optional<BitbucketExternalLink>
createTagDiffLink(BitbucketSCMRepository bitbucketRepository, String tag)
-
-
-
Constructor Detail
-
BitbucketExternalLinkUtils
public BitbucketExternalLinkUtils()
-
BitbucketExternalLinkUtils
public BitbucketExternalLinkUtils(BitbucketPluginConfiguration bitbucketPluginConfiguration)
-
-
Method Detail
-
createBranchDiffLink
public Optional<BitbucketExternalLink> createBranchDiffLink(BitbucketSCMRepository bitbucketRepository, String branch)
-
createTagDiffLink
public Optional<BitbucketExternalLink> createTagDiffLink(BitbucketSCMRepository bitbucketRepository, String tag)
-
createPullRequestLink
public Optional<BitbucketExternalLink> createPullRequestLink(BitbucketSCMRepository bitbucketRepository, String pullRequestId)
- Since:
- 4.0.0
-
createRepoLink
public Optional<BitbucketExternalLink> createRepoLink(BitbucketSCMRepository bitbucketRepository)
-
-