public interface PluginRefCommandFactory
refs
.PluginCommandFactory
Modifier and Type | Method and Description |
---|---|
com.atlassian.bitbucket.scm.Command<com.atlassian.bitbucket.repository.Branch> |
createBranch(com.atlassian.bitbucket.repository.Repository repository,
com.atlassian.bitbucket.scm.ref.CreateBranchCommandParameters parameters) |
com.atlassian.bitbucket.scm.Command<com.atlassian.bitbucket.repository.Tag> |
createTag(com.atlassian.bitbucket.repository.Repository repository,
com.atlassian.bitbucket.scm.ref.CreateTagCommandParameters parameters) |
@Nonnull com.atlassian.bitbucket.scm.Command<com.atlassian.bitbucket.repository.Branch> createBranch(@Nonnull com.atlassian.bitbucket.repository.Repository repository, @Nonnull com.atlassian.bitbucket.scm.ref.CreateBranchCommandParameters parameters)
repository
- the repository to create the branchparameters
- describes the parameters required to create a branchcom.atlassian.bitbucket.repository.InvalidAuthorException
- if an author is not provided and there is no current effective user@Nonnull com.atlassian.bitbucket.scm.Command<com.atlassian.bitbucket.repository.Tag> createTag(@Nonnull com.atlassian.bitbucket.repository.Repository repository, @Nonnull com.atlassian.bitbucket.scm.ref.CreateTagCommandParameters parameters)
repository
- the repository to create the tagparameters
- describes the parameters required to create a tagcom.atlassian.bitbucket.repository.InvalidAuthorException
- if an author is not provided and there is no current effective userCopyright © 2020 Atlassian. All rights reserved.