Class BitbucketCommitClientImpl
- java.lang.Object
-
- com.atlassian.bitbucket.jenkins.internal.client.BitbucketCommitClientImpl
-
- All Implemented Interfaces:
BitbucketCommitClient
public class BitbucketCommitClientImpl extends Object implements BitbucketCommitClient
-
-
Constructor Summary
Constructors Constructor Description BitbucketCommitClientImpl(BitbucketRequestExecutor bitbucketRequestExecutor, String projectKey, String repositorySlug)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BitbucketCommit
getCommit(String identifier)
Gets the commit details for the given identifier
-
-
-
Constructor Detail
-
BitbucketCommitClientImpl
public BitbucketCommitClientImpl(BitbucketRequestExecutor bitbucketRequestExecutor, String projectKey, String repositorySlug)
-
-
Method Detail
-
getCommit
@CheckForNull public BitbucketCommit getCommit(String identifier)
Description copied from interface:BitbucketCommitClient
Gets the commit details for the given identifier- Specified by:
getCommit
in 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
-
-