Class BitbucketCommitClientImpl
java.lang.Object
com.atlassian.bitbucket.jenkins.internal.client.BitbucketCommitClientImpl
- All Implemented Interfaces:
BitbucketCommitClient
-
Constructor Summary
ConstructorsConstructorDescriptionBitbucketCommitClientImpl(BitbucketRequestExecutor bitbucketRequestExecutor, String projectKey, String repositorySlug) -
Method Summary
Modifier and TypeMethodDescriptionGets the commit details for the given identifier
-
Constructor Details
-
BitbucketCommitClientImpl
public BitbucketCommitClientImpl(BitbucketRequestExecutor bitbucketRequestExecutor, String projectKey, String repositorySlug)
-
-
Method Details
-
getCommit
Description copied from interface:BitbucketCommitClientGets the commit details for the given identifier- Specified by:
getCommitin interfaceBitbucketCommitClient- Parameters:
identifier- the commit hash or the name of the branch to get the commit from- Returns:
- commit details corresponding to the given identifier
-