Class ResolveRefsCommandParameters


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

Since:
4.4
  • Method Details

    • getBranchIds

      @Nonnull public Set<String> getBranchIds()
      Returns:
      the branch IDs to resolve
    • getRefIds

      @Nonnull public Set<String> getRefIds()
      Returns:
      the ref IDs to resolve. Could be branches or tags
    • getTagIds

      @Nonnull public Set<String> getTagIds()
      Returns:
      the tag IDs to resolve