Package com.atlassian.bitbucket.scm
Class ResolveRefsCommandParameters
java.lang.Object
com.atlassian.bitbucket.util.BuilderSupport
com.atlassian.bitbucket.scm.AbstractCommandParameters
com.atlassian.bitbucket.scm.ResolveRefsCommandParameters
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
-
Nested Class Summary
-
Field Summary
Fields inherited from class com.atlassian.bitbucket.util.BuilderSupport
NOT_BLANK
-
Method Summary
Methods inherited from class com.atlassian.bitbucket.util.BuilderSupport
addIf, addIf, addIf, addIf, addIf, addIf, checkNotBlank, requireNonBlank
-
Method Details
-
getBranchIds
- Returns:
- the branch IDs to resolve
-
getRefIds
- Returns:
- the ref IDs to resolve. Could be branches or tags
-
getTagIds
- Returns:
- the tag IDs to resolve
-