public class

RefMetadataRequest

extends Object
java.lang.Object
   ↳ com.atlassian.bitbucket.repository.RefMetadataRequest

Class Overview

A request for metadata associated with a collection of Ref.

Summary

Nested Classes
class RefMetadataRequest.Builder A builder for RefMetadataRequest  
Public Methods
@Nullable Ref getBaseRef()
@Nonnull Map<String, Object> getContext()
@Nonnull Set<Ref> getRefs()
@Nonnull Repository getRepository()
[Expand]
Inherited Methods
From class java.lang.Object

Public Methods

@Nullable public Ref getBaseRef ()

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

@Nonnull public Map<String, Object> getContext ()

Returns
  • a map of attributes associated with the context.

@Nonnull public Set<Ref> getRefs ()

Returns
  • the collection of refs to find associated metadata

@Nonnull public Repository getRepository ()

Returns
  • the repository the refs exist within