Package com.atlassian.bitbucket.scm
Class AbstractMergeCommandParameters.AbstractBuilder<B extends AbstractMergeCommandParameters.AbstractBuilder<B>>
java.lang.Object
com.atlassian.bitbucket.scm.AbstractMergeCommandParameters.AbstractBuilder<B>
- Direct Known Subclasses:
MergeCommandParameters.AbstractMergeBuilder
,PullRequestMergeCommandParameters.Builder
- Enclosing class:
- AbstractMergeCommandParameters
public abstract static class AbstractMergeCommandParameters.AbstractBuilder<B extends AbstractMergeCommandParameters.AbstractBuilder<B>>
extends Object
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionauthor
(ApplicationUser value) commitSummaries
(int value) committer
(ApplicationUser value) dryRun
(boolean value) protected abstract B
self()
strategyId
(String value) protected void
validate()
-
Constructor Details
-
AbstractBuilder
public AbstractBuilder()
-
-
Method Details
-
author
- Parameters:
value
- the author of the merged changes- Returns:
this
-
commitSummaries
- Parameters:
value
- the number of commit summaries to append to themessage
, which may be0
to not append any- Returns:
this
- Since:
- 6.7
-
committer
- Parameters:
value
- the user merging the changes- Returns:
this
- Since:
- 5.0
-
dryRun
-
message
-
strategyId
- Parameters:
value
- theID
of the merge strategy to use, ornull
to use the SCM's default strategy- Returns:
this
- Since:
- 4.9
-
self
-
validate
protected void validate()
-