| com.atlassian.stash.scm.ref.PluginRefCommandFactory |
Class Overview
Specialized command factory for dealing with com.atlassian.stash.repository.Ref refs.
Summary
| Public Methods |
|
@Nonnull
Command<Branch>
|
createBranch(Repository repository, CreateBranchCommandParameters parameters)
|
|
@Nonnull
Command<Tag>
|
createTag(Repository repository, CreateTagCommandParameters parameters)
|
Public Methods
@Nonnull
public
Command<Branch>
createBranch
(Repository repository, CreateBranchCommandParameters parameters)
Parameters
| repository
| the repository to create the branch |
| parameters
| describes the parameters required to create a branch |
Returns
- a command which, when called, will create a branch
Throws
| InvalidAuthorException
| if an author is not provided and there is no current effective user
|
@Nonnull
public
Command<Tag>
createTag
(Repository repository, CreateTagCommandParameters parameters)
Parameters
| repository
| the repository to create the tag |
| parameters
| describes the parameters required to create a tag |
Returns
- a command which, when called, will create a tag
Throws
| InvalidAuthorException
| if an author is not provided and there is no current effective user
|