public class

ResolveRefsCommandParameters

extends AbstractCommandParameters
java.lang.Object
   ↳ com.atlassian.bitbucket.util.BuilderSupport
     ↳ com.atlassian.bitbucket.scm.AbstractCommandParameters
       ↳ com.atlassian.bitbucket.scm.ResolveRefsCommandParameters

Class Overview

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 branchId(String) or tagId(String) method to allow the SCM to optimize resolving the ref. If the ref type is unknown, the refId(String) method should be used.

Summary

Nested Classes
class ResolveRefsCommandParameters.Builder  
[Expand]
Inherited Fields
From class com.atlassian.bitbucket.util.BuilderSupport
Public Methods
@Nonnull Set<String> getBranchIds()
@Nonnull Set<String> getRefIds()
@Nonnull Set<String> getTagIds()
[Expand]
Inherited Methods
From class com.atlassian.bitbucket.util.BuilderSupport
From class java.lang.Object

Public Methods

@Nonnull public Set<String> getBranchIds ()

Returns
  • the branch IDs to resolve

@Nonnull public Set<String> getRefIds ()

Returns
  • the ref IDs to resolve. Could be branches or tags

@Nonnull public Set<String> getTagIds ()

Returns
  • the tag IDs to resolve