Package | Description |
---|---|
com.atlassian.bitbucket.event.pull | |
com.atlassian.bitbucket.nav | |
com.atlassian.bitbucket.pull | |
com.atlassian.bitbucket.repository | |
com.atlassian.bitbucket.scm |
Modifier and Type | Method and Description |
---|---|
Ref |
PullRequestUpdatedEvent.getPreviousToBranch() |
Constructor and Description |
---|
PullRequestUpdatedEvent(Object source,
PullRequest pullRequest,
String previousTitle,
String previousDescription,
Ref previousToBranch) |
Modifier and Type | Method and Description |
---|---|
NavBuilder.RevisionBrowse |
NavBuilder.BrowseRepoResource.atRevision(Ref ref) |
NavBuilder.ListCommits |
NavBuilder.ListCommits.until(Ref ref) |
Modifier and Type | Interface and Description |
---|---|
interface |
PullRequestRef
|
Modifier and Type | Interface and Description |
---|---|
interface |
Branch
A
Ref denoting a branch in the repository. |
interface |
RepositoryRef
A
Ref qualified with the Repository it exists in |
interface |
Tag
A
Ref denoting a tag in the repository. |
Modifier and Type | Class and Description |
---|---|
class |
SimpleRepositoryRef
Basic implementation of
RepositoryRef |
Modifier and Type | Method and Description |
---|---|
Ref |
RefMetadataRequest.getBaseRef() |
Ref |
RefService.resolveRef(ResolveRefRequest request)
|
Modifier and Type | Method and Description |
---|---|
Map<Ref,MetadataMap> |
RefService.getMetadataByRefs(RefMetadataRequest request)
Retrieves the associated metadata based on a given collection of refs in a repository.
|
Set<Ref> |
RefMetadataRequest.getRefs() |
Map<String,Ref> |
RefService.resolveRefs(ResolveRefsRequest request)
Attempts to resolve multiple refs at once, returning a map with the successfully resolved IDs linked
to their resolved
refs . |
Modifier and Type | Method and Description |
---|---|
RefMetadataRequest.Builder |
RefMetadataRequest.Builder.baseRef(Ref baseRef) |
SimpleRefChange.Builder |
SimpleRefChange.Builder.from(Ref value) |
B |
SimpleRefChange.AbstractBuilder.from(Ref value) |
boolean |
AbstractRefCallback.onRef(Ref ref)
Discards the provided
ref . |
boolean |
RefCallback.onRef(Ref ref)
Called to process a
ref . |
RefMetadataRequest.Builder |
RefMetadataRequest.Builder.refs(Ref value,
Ref... values) |
RefMetadataRequest.Builder |
RefMetadataRequest.Builder.refs(Ref value,
Ref... values) |
SimpleRefChange.Builder |
SimpleRefChange.Builder.to(Ref value) |
B |
SimpleRefChange.AbstractBuilder.to(Ref value) |
Modifier and Type | Method and Description |
---|---|
RefMetadataRequest.Builder |
RefMetadataRequest.Builder.refs(Iterable<? extends Ref> values) |
Constructor and Description |
---|
Builder(Repository repository,
Ref ref) |
Modifier and Type | Method and Description |
---|---|
Command<Ref> |
ScmCommandFactory.resolveRef(ResolveRefCommandParameters parameters)
Resolves the specified
refId , which may be a:
branch name
tag name
commit hash
If the refId should be resolved to a specific type, that type should be set to allow the SCM to restrict its search. |
Command<Map<String,Ref>> |
ScmCommandFactory.resolveRefs(ResolveRefsCommandParameters parameters)
Resolves refs from the ref IDs provided on
parameters , which may be one of
branch name
tag name
commit hash
Callers can specify on the parameters whether a provided ID is expected to resolve to a
branch , tag ,
or a ref of unknown type . |
Copyright © 2019 Atlassian. All rights reserved.