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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionauthor(ApplicationUser value) commitSummaries(int value) committer(ApplicationUser value) dryRun(boolean value) protected abstract Bself()strategyId(String value) protected voidvalidate()
-
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 be0to 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- theIDof the merge strategy to use, ornullto use the SCM's default strategy- Returns:
this- Since:
- 4.9
-
self
-
validate
protected void validate()
-