Interface CommitAddedDetails
public interface CommitAddedDetails
- Since:
- 5.0
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptioncom.atlassian.bitbucket.commit.Commitcom.atlassian.bitbucket.repository.MinimalRefgetRef()boolean
-
Method Details
-
getCommit
@Nonnull com.atlassian.bitbucket.commit.Commit getCommit()- Returns:
- the commit
-
getRef
@Nonnull com.atlassian.bitbucket.repository.MinimalRef getRef()- Returns:
- the ref the commit has been added to / is about to be added to
-
isAddedToRepository
boolean isAddedToRepository()- Returns:
trueif the commit is (going to be) introduced to the repository.falseif the commit is already referenced by another ref.- See Also:
-