Package com.atlassian.bitbucket.scm
Class AbstractMergeCommandParameters
java.lang.Object
com.atlassian.bitbucket.util.BuilderSupport
com.atlassian.bitbucket.scm.AbstractCommandParameters
com.atlassian.bitbucket.scm.AbstractMergeCommandParameters
- Direct Known Subclasses:
MergeCommandParameters,PullRequestMergeCommandParameters
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classAbstractMergeCommandParameters.AbstractBuilder<B extends AbstractMergeCommandParameters.AbstractBuilder<B>> -
Field Summary
Fields inherited from class com.atlassian.bitbucket.util.BuilderSupport
NOT_BLANK -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected -
Method Summary
Methods inherited from class com.atlassian.bitbucket.util.BuilderSupport
addIf, addIf, addIf, addIf, addIf, addIf, checkNotBlank, requireNonBlank
-
Constructor Details
-
AbstractMergeCommandParameters
- Parameters:
builder- aAbstractMergeCommandParameters.AbstractBuilderbuilder with properties to set on the constructed instance
-
-
Method Details
-
getAuthor
- Returns:
- the author of the changes being merged
-
getCommitSummaries
public int getCommitSummaries()- Returns:
- the number of commit summaries to append to the
message, which may be0to not append any - Since:
- 6.7
-
getCommitter
- Returns:
- the user merging the changes
- Since:
- 5.0
-
getMessage
-
getStrategyId
- Returns:
- the
IDfor the strategy to use to perform the merge, which may benullto use the SCM's default strategy - Since:
- 4.9
-
isDryRun
public boolean isDryRun()
-