Class RefMetadataRequest

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

public class RefMetadataRequest extends Object
A request for metadata associated with a collection of Ref.
  • Method Details

    • getBaseRef

      @Nullable public Ref getBaseRef()
      Returns:
      the base ref the refs should be compared to (for the providers that uses that information)
    • getRefs

      @Nonnull public Set<Ref> getRefs()
      Returns:
      the collection of refs to find associated metadata
    • getRepository

      @Nonnull public Repository getRepository()
      Returns:
      the repository the refs exist within
    • getContext

      @Nonnull public Map<String,Object> getContext()
      Returns:
      a map of attributes associated with the context.