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
Modifier and TypeClassDescriptionstatic class
AbstractMergeCommandParameters.AbstractBuilder<B extends AbstractMergeCommandParameters.AbstractBuilder<B>>
-
Field Summary
Fields inherited from class com.atlassian.bitbucket.util.BuilderSupport
NOT_BLANK
-
Constructor Summary
ModifierConstructorDescriptionprotected
-
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.AbstractBuilder
builder 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 be0
to not append any - Since:
- 6.7
-
getCommitter
- Returns:
- the user merging the changes
- Since:
- 5.0
-
getMessage
-
getStrategyId
- Returns:
- the
ID
for the strategy to use to perform the merge, which may benull
to use the SCM's default strategy - Since:
- 4.9
-
isDryRun
public boolean isDryRun()
-