public interface

CommitRemovedDetails

com.atlassian.bitbucket.hook.repository.CommitRemovedDetails

Class Overview

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

Summary

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

Public Methods

@Nonnull public Commit getCommit ()

Returns
  • the commit

@Nonnull public MinimalRef getRef ()

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

public boolean isRemovedFromRepository ()

Returns
  • true if the commit has been / is going to be removed from the repository. false if the commit is still referenced by another ref.