Class BitbucketScmHelper
- java.lang.Object
-
- com.atlassian.bitbucket.jenkins.internal.scm.BitbucketScmHelper
-
public class BitbucketScmHelper extends Object
-
-
Constructor Summary
Constructors Constructor Description BitbucketScmHelper(String bitbucketBaseUrl, BitbucketClientFactoryProvider bitbucketClientFactoryProvider, BitbucketCredentials credentials)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BitbucketCommitClient
getCommitClient(String projectKey, String repositorySlug)
Optional<BitbucketDefaultBranch>
getDefaultBranch(String projectName, String repositoryName)
BitbucketFilePathClient
getFilePathClient(String projectKey, String repositorySlug)
BitbucketRepository
getRepository(String projectName, String repositoryName)
BitbucketRepositoryClient
getRepositoryClient(String projectKey, String repositorySlug)
BitbucketTagClient
getTagClient(String projectKey, String repositorySlug, TaskListener listener)
-
-
-
Constructor Detail
-
BitbucketScmHelper
public BitbucketScmHelper(String bitbucketBaseUrl, BitbucketClientFactoryProvider bitbucketClientFactoryProvider, BitbucketCredentials credentials)
-
-
Method Detail
-
getRepository
public BitbucketRepository getRepository(String projectName, String repositoryName)
-
getDefaultBranch
public Optional<BitbucketDefaultBranch> getDefaultBranch(String projectName, String repositoryName)
-
getCommitClient
public BitbucketCommitClient getCommitClient(String projectKey, String repositorySlug)
-
getFilePathClient
public BitbucketFilePathClient getFilePathClient(String projectKey, String repositorySlug)
-
getTagClient
public BitbucketTagClient getTagClient(String projectKey, String repositorySlug, TaskListener listener)
-
getRepositoryClient
public BitbucketRepositoryClient getRepositoryClient(String projectKey, String repositorySlug)
-
-