public static class

PullRequestCommitsCommandParameters.Builder

extends Object
java.lang.Object
   ↳ com.atlassian.bitbucket.scm.pull.PullRequestCommitsCommandParameters.Builder

Summary

Public Constructors
Builder()
Public Methods
@Nonnull PullRequestCommitsCommandParameters build()
@Nonnull PullRequestCommitsCommandParameters.Builder maxMessageLength(int value)
@Nonnull PullRequestCommitsCommandParameters.Builder withMessages(boolean value)
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public Builder ()

Public Methods

@Nonnull public PullRequestCommitsCommandParameters build ()

@Nonnull public PullRequestCommitsCommandParameters.Builder maxMessageLength (int value)

Parameters
value the maximum length for included commit messages, where 0 omits messages entirely and -1 includes the full message regardless of length
Returns
  • this

@Nonnull public PullRequestCommitsCommandParameters.Builder withMessages (boolean value)

Parameters
value true to include commit messages in the output, up to the specified maximum length; otherwise, false to omit messages entirely
Returns
  • this