public static class

CommitsBetweenRequest.Builder

extends AbstractCommitsRequest.AbstractCommitsRequestBuilder<B extends AbstractCommitsRequestBuilder<B>>
java.lang.Object
   ↳ com.atlassian.bitbucket.util.BuilderSupport
     ↳ com.atlassian.bitbucket.commit.AbstractCommitsRequest.AbstractCommitsRequestBuilder<B extends com.atlassian.bitbucket.commit.AbstractCommitsRequest.AbstractCommitsRequestBuilder<B>>
       ↳ com.atlassian.bitbucket.commit.CommitsBetweenRequest.Builder

Summary

[Expand]
Inherited Fields
From class com.atlassian.bitbucket.util.BuilderSupport
Public Constructors
Builder(Repository repository)
Builder(CommitsBetweenRequest request)
Creates a new Builder by copying the specified request.
Builder(PullRequest pullRequest)
Creates a new Builder with defaults appropriate for retrieving the commits which are included by the specified PullRequest.
Public Methods
@Nonnull CommitsBetweenRequest build()
@Nonnull CommitsBetweenRequest.Builder exclude(Iterable<String> values)
@Nonnull CommitsBetweenRequest.Builder exclude(String value, String... values)
@Nonnull CommitsBetweenRequest.Builder include(Iterable<String> values)
@Nonnull CommitsBetweenRequest.Builder include(String value, String... values)
@Nonnull CommitsBetweenRequest.Builder secondaryRepository(Repository value)
Protected Methods
CommitsBetweenRequest.Builder self()
[Expand]
Inherited Methods
From class com.atlassian.bitbucket.commit.AbstractCommitsRequest.AbstractCommitsRequestBuilder
From class com.atlassian.bitbucket.util.BuilderSupport
From class java.lang.Object

Public Constructors

public Builder (Repository repository)

public Builder (CommitsBetweenRequest request)

Creates a new Builder by copying the specified request.

Parameters
request the request to copy

public Builder (PullRequest pullRequest)

Creates a new Builder with defaults appropriate for retrieving the commits which are included by the specified PullRequest.

The new builder:

Parameters
pullRequest the pull request to retrieve commits for

Public Methods

@Nonnull public CommitsBetweenRequest build ()

Returns
Throws
IllegalStateException if a secondary repository was specified and it belongs to a different hierarchy than the primary repository

@Nonnull public CommitsBetweenRequest.Builder exclude (Iterable<String> values)

@Nonnull public CommitsBetweenRequest.Builder exclude (String value, String... values)

@Nonnull public CommitsBetweenRequest.Builder include (Iterable<String> values)

@Nonnull public CommitsBetweenRequest.Builder include (String value, String... values)

@Nonnull public CommitsBetweenRequest.Builder secondaryRepository (Repository value)

Protected Methods

protected CommitsBetweenRequest.Builder self ()