public interface

RefMetadataContext

com.atlassian.bitbucket.repository.RefMetadataContext

Class Overview

The context in which the metadata is being retrieved for a given collection of Ref refs

Summary

Public Methods
@Nonnull Ref getBaseRef()
@Nonnull Map<StringObject> getContext()
@Nonnull Set<Ref> getRefs()
@Nonnull Repository getRepository()

Public Methods

@Nonnull public Ref getBaseRef ()

Returns
  • the base ref the refs should be compared to (for the providers that uses that information)

@Nonnull public Map<StringObject> getContext ()

Returns
  • return a map of context attributes

@Nonnull public Set<Ref> getRefs ()

Returns
  • the collection of Ref refs for which to fetch the metadata

@Nonnull public Repository getRepository ()

Returns
  • the repository the Ref refs are contained within