Uses of Interface
com.atlassian.bitbucket.scm.Command
Packages that use Command
Package
Description
-
Uses of Command in com.atlassian.bitbucket.scm
Methods in com.atlassian.bitbucket.scm that return CommandModifier and TypeMethodDescriptionScmExtendedCommandFactory.archive(ArchiveCommandParameters parameters, TypeAwareOutputSupplier outputSupplier) ScmCommandFactory.blame(BlameCommandParameters parameters, PageRequest pageRequest) Retrieves blame (also sometimes referred to as annotations) for a file at a given revision.ScmCommandFactory.branches(BranchesCommandParameters parameters, BranchCallback callback) ScmCommandFactory.branches(BranchesCommandParameters parameters, PageRequest pageRequest) <T> Command<T>CommandBuilderSupport.build(CommandOutputHandler<T> outputHandler) <T> Command<T>ScmCommandBuilder.build(CommandOutputHandler<T> outputHandler) ScmCommandFactory.changes(ChangesCommandParameters parameters, ChangeCallback callback) ScmCommandFactory.changes(ChangesCommandParameters parameters, PageRequest pageRequest) ScmCommandFactory.changesets(ChangesetsCommandParameters parameters, PageRequest pageRequest) Retrieves a page ofchangesetsgiven a set ofcommit IDs, where each changeset includes the first page ofchangesbetween a requested commit and its first parent.ScmCommandFactory.commit(CommitCommandParameters parameters) Retrievesdetailsfor the specified commit.ScmCommandFactory.commits(CommitsCommandParameters parameters, CommitCallback callback) Streams commits which match the providedparametersto the provided callback.ScmCommandFactory.commits(CommitsCommandParameters parameters, PageRequest pageRequest) Retrieves apageof commits matching the specifiedparameters.ScmCommandFactory.commonAncestor(CommonAncestorCommandParameters parameters) Retrieves the common ancestor for the provided commitsScmCommandFactory.defaultBranch()Resolves the default branch for the specified repository.ScmCommandFactory.diff(DiffCommandParameters parameters, DiffContentCallback callback) Streams a diff between twocommits.ScmCommandFactory.diff(DiffCommandParameters parameters, TypeAwareOutputSupplier outputSupplier) Streams a diff between twocommits.ScmCommandFactory.diffStatsSummary(DiffStatsSummaryCommandParameters parameters) Retrieves the diff stats summary between twocommits.ScmCommandFactory.directory(DirectoryCommandParameters parameters, ContentTreeCallback callback, PageRequest pageRequest) Streams thetree nodes(files, subdirectories and submodules) in the specifieddirectory.ScmExtendedCommandFactory.editFile(EditFileCommandParameters parameters) Adds a new file or updates the content of an existing file as described in theparameters.ScmCommandFactory.file(FileCommandParameters parameters, FileContentCallback callback, PageRequest pageRequest) Streams the contents of thespecified file.ScmExtendedCommandFactory.lastModified(LastModifiedCommandParameters parameters, LastModifiedCallback callback) ScmExtendedCommandFactory.merge(MergeCommandParameters parameters) Merges the specifiedfromCommitIdinto the specifiedtoBranch.ScmExtendedCommandFactory.patch(PatchCommandParameters parameters, TypeAwareOutputSupplier outputSupplier) Streams a patch for a givencommitor commit range.ScmExtendedCommandFactory.push(PushCommandParameters parameters, PushCallback callback) Pushes the repository to theURL specified in the parameters.ScmCommandFactory.rawFile(RawFileCommandParameters parameters, TypeAwareOutputSupplier outputSupplier) Streams the raw content of the given file after performing a best effort detection of its MIME type.ScmCommandFactory.refs(RefsCommandParameters parameters, RefCallback callback) Streams all of therefsin the repository.ScmCommandFactory.repositorySize(Repository repository, RepositorySizeCommandParameters parameters) Calculates thesizefor the specified repository.ScmCommandFactory.resolveCommits(ResolveCommitsCommandParameters parameters) Resolves revisions provided onparametersto the referenced commit ID.ScmCommandFactory.resolveRef(ResolveRefCommandParameters parameters) Resolves the specifiedrefId, which may be a:branch nametag namecommit hashIf therefIdshould be resolved to a specific type, thattypeshould 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 nametag namecommit hashCallers can specify on theparameterswhether a provided ID is expected to resolve to abranch,tag, or aref of unknown type.ScmExtendedCommandFactory.revert(RevertCommandParameters parameters) Reverts the specified commit on a given branch as described by theparameters.ScmExtendedCommandFactory.signedObjects(SignedObjectsParameters parameters, SignedObjectCallback callback) Retrieves requested objects and if the object is signed, provides the signature and signed content to the callback.ScmCommandFactory.size(SizeCommandParameters parameters) Retrieves the size of the file at the requested path at the specified commit.AsyncCommand.synchronous()Transforms thisAsyncCommandinto aCommandwhich may be called synchronously.ScmCommandFactory.tags(TagsCommandParameters parameters, TagCallback callback) Streamstagsordered either alphabetically or by modification and optionally filtered.ScmCommandFactory.tags(TagsCommandParameters parameters, PageRequest pageRequest) ScmCommandFactory.traverseCommits(TraversalCallback callback) Streams all of the commits in the repository reachable from any branch or tag, traversed in topological order.ScmCommandFactory.type(TypeCommandParameters parameters) ScmExtendedCommandFactory.updateDefaultBranch(UpdateDefaultBranchCommandParameters parameters) Sets the default branch for the repository to the specified branch.Methods in com.atlassian.bitbucket.scm with parameters of type CommandModifier and TypeMethodDescriptionvoidCommandAware.setCommand(Command<?> command) Called prior toprocessto provide theCommandthe handler will be processing. -
Uses of Command in com.atlassian.bitbucket.scm.bulk
Methods in com.atlassian.bitbucket.scm.bulk that return CommandModifier and TypeMethodDescriptionScmBulkContentCommandFactory.commits(BulkCommitsCommandParameters parameters, BulkCommitCallback callback) Streams commits from one or more repositories, providing a set of matching repositories for each.ScmBulkContentCommandFactory.contents(BulkContentCommandParameters parameters, BulkContentCallback callback) ScmBulkContentCommandFactory.traverseCommits(BulkTraverseCommitsCommandParameters parameters, BulkTraversalCallback callback) Stream commits from one or more repositories, traversed in topological order. -
Uses of Command in com.atlassian.bitbucket.scm.compare
Methods in com.atlassian.bitbucket.scm.compare that return CommandModifier and TypeMethodDescriptionScmCompareCommandFactory.changes(CompareChangeCommandParameters parameters, ChangeCallback callback) ScmCompareCommandFactory.commits(CommitCallback callback) ScmCompareCommandFactory.diff(CompareDiffCommandParameters parameters, DiffContentCallback callback) ScmCompareCommandFactory.diffStatsSummary(CompareDiffStatsSummaryCommandParameters parameters) Retrieves the diff stats summary for the diff between two given commits -
Uses of Command in com.atlassian.bitbucket.scm.mirror
Methods in com.atlassian.bitbucket.scm.mirror that return CommandModifier and TypeMethodDescriptionScmMirrorCommandFactory.synchronize(MirrorSyncCommandParameters parameters, MirrorSyncCallback callback) Creates a command that fetches all branches and tags from the providedremote URL.ScmMirrorCommandFactory.updateRefs(MirrorUpdateRefsCommandParameters parameters) Applies the providedref changesin the repository. -
Uses of Command in com.atlassian.bitbucket.scm.pull
Methods in com.atlassian.bitbucket.scm.pull that return CommandModifier and TypeMethodDescriptionScmPullRequestCommandFactory.changes(PullRequestChangesCommandParameters parameters, ChangeCallback callback) ScmPullRequestCommandFactory.commits(PullRequestCommitsCommandParameters parameters, CommitCallback callback) ScmPullRequestCommandFactory.diff(PullRequestDiffCommandParameters parameters, DiffContentCallback callback) ScmPullRequestCommandFactory.diffStatsSummary(PullRequestDiffStatsSummaryCommandParameters parameters) Retrieves the diff stats summary for the effective diff of the given pull request.ScmPullRequestCommandFactory.effectiveDiff()Retrieves the effective diff for the pull request.ScmPullRequestCommandFactory.merge(PullRequestMergeCommandParameters parameters) ScmPullRequestCommandFactory.tryMerge(PullRequest pullRequest) Attempt to merge the pull request to determine what the expected result of actually merging it would be. -
Uses of Command in com.atlassian.bitbucket.scm.ref
Methods in com.atlassian.bitbucket.scm.ref that return CommandModifier and TypeMethodDescriptionScmRefCommandFactory.createBranch(CreateBranchCommandParameters parameters) ScmRefCommandFactory.createTag(CreateTagCommandParameters parameters)