Class ResolveRefsRequest

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

public class ResolveRefsRequest extends Object
Describes which refs to resolve.

If it is known whether a requested ref is a branch or a tag, the caller is encouraged to use either the ResolveRefsRequest.Builder.branchId(String) or ResolveRefsRequest.Builder.tagId(String) method to allow the SCM to optimize resolving the ref. If the ref type is unknown, the ResolveRefsRequest.Builder.refId(String) method should be used.

Since:
4.6
  • Method Details

    • getBranchIds

      @Nonnull public Set<String> getBranchIds()
    • getRefIds

      @Nonnull public Set<String> getRefIds()
    • getRepository

      @Nonnull public Repository getRepository()
    • getTagIds

      @Nonnull public Set<String> getTagIds()