Interface Ref

All Superinterfaces:
MinimalRef
All Known Subinterfaces:
Branch, PullRequestRef, RepositoryRef, Tag
All Known Implementing Classes:
SimpleRepositoryRef

public interface Ref extends MinimalRef
Common abstraction between reference types like branches and tags.
  • Method Details

    • getLatestCommit

      @Nonnull String getLatestCommit()
      The ID of the commit at the tip of this ref.
      Returns:
      the tip commit's ID