Interface RefMetadataContext


public interface RefMetadataContext
The context in which the metadata is being retrieved for a given collection of refs
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    com.atlassian.bitbucket.repository.Ref
     
     
    Set<com.atlassian.bitbucket.repository.Ref>
     
    com.atlassian.bitbucket.repository.Repository
     
  • Method Details

    • getContext

      @Nonnull Map<String,Object> getContext()
      Returns:
      return a map of context attributes
    • getBaseRef

      @Nonnull com.atlassian.bitbucket.repository.Ref getBaseRef()
      Returns:
      the base ref the refs should be compared to (for the providers that uses that information)
    • getRefs

      @Nonnull Set<com.atlassian.bitbucket.repository.Ref> getRefs()
      Returns:
      the collection of refs for which to fetch the metadata
    • getRepository

      @Nonnull com.atlassian.bitbucket.repository.Repository getRepository()
      Returns:
      the repository the refs are contained within