com.atlassian.bitbucket.hook.repository.CommitAddedDetails |
Class Overview
Describes a commit
that was added / is about to be added to a ref
.
Public Methods
@Nonnull
public
Commit
getCommit
()
@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.