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 Details

    • AbstractBuilder

      public AbstractBuilder()
  • Method Details

    • author

      @Nonnull public B author(@Nonnull ApplicationUser value)
      Parameters:
      value - the author of the merged changes
      Returns:
      this
    • commitSummaries

      @Nonnull public B commitSummaries(int value)
      Parameters:
      value - the number of commit summaries to append to the message, which may be 0 to not append any
      Returns:
      this
      Since:
      6.7
    • committer

      @Nonnull public B committer(@Nonnull ApplicationUser value)
      Parameters:
      value - the user merging the changes
      Returns:
      this
      Since:
      5.0
    • dryRun

      @Nonnull public B dryRun(boolean value)
    • message

      @Nonnull public B message(@Nullable String value)
    • strategyId

      @Nonnull public B strategyId(@Nullable String value)
      Parameters:
      value - the ID of the merge strategy to use, or null to use the SCM's default strategy
      Returns:
      this
      Since:
      4.9
    • self

      @Nonnull protected abstract B self()
    • validate

      protected void validate()