Modifier and Type | Method and Description |
---|---|
Command<Void> |
ScmExtendedCommandFactory.archive(ArchiveCommandParameters parameters,
TypeAwareOutputSupplier outputSupplier)
|
Command<Page<Blame>> |
ScmCommandFactory.blame(BlameCommandParameters parameters,
PageRequest pageRequest)
Retrieves blame (also sometimes referred to as annotations) for a file at a given revision.
|
Command<Void> |
ScmCommandFactory.branches(BranchesCommandParameters parameters,
BranchCallback callback)
|
Command<Page<Branch>> |
ScmCommandFactory.branches(BranchesCommandParameters parameters,
PageRequest pageRequest)
|
<T> Command<T> |
ScmCommandBuilder.build(CommandOutputHandler<T> outputHandler)
|
<T> Command<T> |
CommandBuilderSupport.build(CommandOutputHandler<T> outputHandler)
|
Command<Void> |
ScmCommandFactory.changes(ChangesCommandParameters parameters,
ChangeCallback callback)
|
Command<Page<Change>> |
ScmCommandFactory.changes(ChangesCommandParameters parameters,
PageRequest pageRequest)
|
Command<Page<Changeset>> |
ScmCommandFactory.changesets(ChangesetsCommandParameters parameters,
PageRequest pageRequest)
Retrieves a page of
changesets given a set of commit IDs , where each changeset includes the first page of changes
between a requested commit and its first parent. |
Command<Commit> |
ScmCommandFactory.commit(CommitCommandParameters parameters)
Retrieves
details for the specified commit. |
Command<Void> |
ScmCommandFactory.commits(CommitsCommandParameters parameters,
CommitCallback callback)
Streams commits which match the provided
parameters to the provided callback. |
Command<Page<Commit>> |
ScmCommandFactory.commits(CommitsCommandParameters parameters,
PageRequest pageRequest)
Retrieves a
page of commits matching the specified parameters . |
Command<MinimalCommit> |
ScmCommandFactory.commonAncestor(CommonAncestorCommandParameters parameters)
Retrieves the common ancestor for the provided commits
|
Command<Branch> |
ScmCommandFactory.defaultBranch()
Resolves the default branch for the specified repository.
|
Command<Void> |
ScmCommandFactory.diff(DiffCommandParameters parameters,
DiffContentCallback callback)
Streams a diff between two
commits . |
Command<Void> |
ScmCommandFactory.diff(DiffCommandParameters parameters,
TypeAwareOutputSupplier outputSupplier)
Streams a diff between two
commits . |
Command<Void> |
ScmCommandFactory.directory(DirectoryCommandParameters parameters,
ContentTreeCallback callback,
PageRequest pageRequest)
Streams the
tree nodes (files, subdirectories and submodules) in the specified
directory . |
Command<Commit> |
ScmExtendedCommandFactory.editFile(EditFileCommandParameters parameters)
Adds a new file or updates the content of an existing file as described in the
parameters . |
Command<Void> |
ScmCommandFactory.file(FileCommandParameters parameters,
FileContentCallback callback,
PageRequest pageRequest)
Streams the contents of the
specified file . |
Command<Void> |
ScmCommandFactory.heads(RefCallback callback)
Deprecated.
in 6.4 for removal in 7.0. Use
ScmCommandFactory.refs(com.atlassian.bitbucket.scm.RefsCommandParameters, com.atlassian.bitbucket.repository.RefCallback) instead. |
Command<Void> |
ScmExtendedCommandFactory.lastModified(LastModifiedCommandParameters parameters,
LastModifiedCallback callback)
|
Command<Branch> |
ScmExtendedCommandFactory.merge(MergeCommandParameters parameters)
Merges the specified
fromCommitId into the specified toBranch . |
Command<Void> |
ScmExtendedCommandFactory.patch(PatchCommandParameters parameters,
TypeAwareOutputSupplier outputSupplier)
Streams a patch for a given
commit or commit range. |
Command<Void> |
ScmCommandFactory.rawFile(RawFileCommandParameters parameters,
TypeAwareOutputSupplier outputSupplier)
Streams the raw content of the given file after performing a best effort detection of its
MIME type.
|
Command<Void> |
ScmCommandFactory.refs(RefsCommandParameters parameters,
RefCallback callback)
Streams all of the
refs in the repository. |
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 . |
Command<Void> |
ScmExtendedCommandFactory.signedObjects(SignedObjectsParameters parameters,
SignedObjectCallback callback)
Retrieves requested objects and if the object is signed, provides the signature and signed content to the
callback.
|
Command<T> |
AsyncCommand.synchronous()
Transforms this
AsyncCommand into a Command which may be called synchronously. |
Command<Page<Tag>> |
ScmCommandFactory.tags(TagsCommandParameters parameters,
PageRequest pageRequest)
|
Command<Void> |
ScmCommandFactory.tags(TagsCommandParameters parameters,
TagCallback callback)
Streams
tags ordered either alphabetically or by modification and optionally filtered. |
Command<Void> |
ScmCommandFactory.traverseCommits(TraversalCallback callback)
Streams all of the commits in the repository reachable from any branch or tag, traversed in topological order.
|
Command<ContentTreeNode.Type> |
ScmCommandFactory.type(TypeCommandParameters parameters)
Retrieves the
type for the specified path
at the requested revision, if the path is present. |
Command<Void> |
ScmExtendedCommandFactory.updateDefaultBranch(UpdateDefaultBranchCommandParameters parameters)
Sets the default branch for the repository to the specified branch.
|
Modifier and Type | Method and Description |
---|---|
void |
CommandAware.setCommand(Command<?> command)
Called prior to
process to provide the Command the handler will be processing. |
Modifier and Type | Method and Description |
---|---|
Command<Void> |
ScmBulkContentCommandFactory.commits(BulkCommitsCommandParameters parameters,
BulkCommitCallback callback)
Streams commits from one or more repositories, providing a set of matching repositories for each.
|
Command<Void> |
ScmBulkContentCommandFactory.contents(BulkContentCommandParameters parameters,
BulkContentCallback callback) |
Command<Void> |
ScmBulkContentCommandFactory.traverseCommits(BulkTraverseCommitsCommandParameters parameters,
BulkTraversalCallback callback)
Stream commits from one or more repositories, traversed in topological order.
|
Modifier and Type | Method and Description |
---|---|
Command<Void> |
ScmCompareCommandFactory.changes(CompareChangeCommandParameters parameters,
ChangeCallback callback) |
Command<Void> |
ScmCompareCommandFactory.commits(CommitCallback callback) |
Command<Void> |
ScmCompareCommandFactory.diff(CompareDiffCommandParameters parameters,
DiffContentCallback callback) |
Modifier and Type | Method and Description |
---|---|
Command<Void> |
ScmMirrorCommandFactory.synchronize(MirrorSyncCommandParameters parameters,
MirrorSyncCallback callback)
Creates a command that fetches all branches and tags from the provided
remote URL . |
Command<Void> |
ScmMirrorCommandFactory.updateRefs(MirrorUpdateRefsCommandParameters parameters)
Applies the provided
ref changes in the repository. |
Modifier and Type | Method and Description |
---|---|
Command<Void> |
ScmPullRequestCommandFactory.changes(PullRequestChangeCommandParameters parameters,
ChangeCallback callback)
Deprecated.
in 6.0 for removal in 7.0. Use
ScmPullRequestCommandFactory.changes(PullRequestChangesCommandParameters, ChangeCallback)
instead. |
Command<Void> |
ScmPullRequestCommandFactory.changes(PullRequestChangesCommandParameters parameters,
ChangeCallback callback) |
Command<Void> |
ScmPullRequestCommandFactory.commits(CommitCallback callback)
Deprecated.
in 6.0 for removal in 7.0. Use
ScmPullRequestCommandFactory.commits(PullRequestCommitsCommandParameters, CommitCallback)
instead. |
Command<Void> |
ScmPullRequestCommandFactory.commits(PullRequestCommitsCommandParameters parameters,
CommitCallback callback) |
Command<Void> |
ScmPullRequestCommandFactory.diff(PullRequestDiffCommandParameters parameters,
DiffContentCallback callback) |
Command<PullRequestEffectiveDiff> |
ScmPullRequestCommandFactory.effectiveDiff()
Retrieves the effective diff for the pull request.
|
Command<Branch> |
ScmPullRequestCommandFactory.merge(PullRequestMergeCommandParameters parameters) |
Command<PullRequestMergeResult> |
ScmPullRequestCommandFactory.tryMerge(PullRequest pullRequest)
Attempt to merge the pull request to determine what the expected result of actually merging it would be.
|
Modifier and Type | Method and Description |
---|---|
Command<Branch> |
ScmRefCommandFactory.createBranch(CreateBranchCommandParameters parameters) |
Command<Tag> |
ScmRefCommandFactory.createTag(CreateTagCommandParameters parameters) |
Copyright © 2019 Atlassian. All rights reserved.