Interface CommitAddedDetails


public interface CommitAddedDetails
Describes a commit that was added / is about to be added to a ref.
Since:
5.0
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    com.atlassian.bitbucket.commit.Commit
     
    com.atlassian.bitbucket.repository.MinimalRef
     
    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:
      true if the commit is (going to be) introduced to the repository. false if the commit is already referenced by another ref.
      See Also: