public interface

CommitAddedDetails

com.atlassian.bitbucket.hook.repository.CommitAddedDetails

Class Overview

Describes a commit that was added / is about to be added to a ref.

Summary

Public Methods
@Nonnull Commit getCommit()
@Nonnull MinimalRef getRef()
boolean isAddedToRepository()

Public Methods

@Nonnull public Commit getCommit ()

Returns
  • the commit

@Nonnull public MinimalRef getRef ()

Returns
  • the ref the commit has been added to / is about to be added to

public 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.