Uses of Interface
com.atlassian.bitbucket.repository.Ref
Package
Description
-
Uses of Ref in com.atlassian.bitbucket.build.status
Modifier and TypeMethodDescriptionBuildStatusRepositorySearchRequest.getRef()
Restrict the search to build statuses associated with this ref.Modifier and TypeMethodDescription -
Uses of Ref in com.atlassian.bitbucket.event.pull
ModifierConstructorDescriptionPullRequestUpdatedEvent
(Object source, PullRequest pullRequest, String previousTitle, String previousDescription, Ref previousToBranch, boolean previousDraft) -
Uses of Ref in com.atlassian.bitbucket.pull
Modifier and TypeInterfaceDescriptioninterface
-
Uses of Ref in com.atlassian.bitbucket.repository
Modifier and TypeInterfaceDescriptioninterface
ARef
denoting a branch in the repository.interface
ARef
qualified with theRepository
it exists ininterface
ARef
denoting a tag in the repository.Modifier and TypeMethodDescriptionRefMetadataRequest.getBaseRef()
RefService.resolveRef
(ResolveRefRequest request) Modifier and TypeMethodDescriptionRefService.getMetadataByRefs
(RefMetadataRequest request) Retrieves the associated metadata based on a given collection of refs in a repository.RefMetadataRequest.getRefs()
RefService.resolveRefs
(ResolveRefsRequest request) Attempts to resolve multiple refs at once, returning a map with the successfully resolved IDs linked to their resolvedrefs
.Modifier and TypeMethodDescriptionboolean
Discards the providedref
.boolean
Called to process aref
.Modifier and TypeMethodDescription -
Uses of Ref in com.atlassian.bitbucket.scm
Modifier and TypeMethodDescriptionScmCommandFactory.resolveRef
(ResolveRefCommandParameters parameters) Resolves the specifiedrefId
, which may be a:branch name
tag name
commit hash
If therefId
should be resolved to a specific type, thattype
should be set to allow the SCM to restrict its search.ScmCommandFactory.resolveRefs
(ResolveRefsCommandParameters parameters) Resolves refs from the ref IDs provided onparameters
, which may be one ofbranch name
tag name
commit hash
Callers can specify on theparameters
whether a provided ID is expected to resolve to abranch
,tag
, or aref of unknown type
.