Package com.atlassian.bitbucket.pull
Class PullRequestDiffStatsSummaryRequest.Builder
java.lang.Object
com.atlassian.bitbucket.util.BuilderSupport
com.atlassian.bitbucket.pull.AbstractPullRequestRequest.AbstractBuilder<PullRequestDiffStatsSummaryRequest.Builder>
com.atlassian.bitbucket.pull.PullRequestDiffStatsSummaryRequest.Builder
- Enclosing class:
PullRequestDiffStatsSummaryRequest
public static class PullRequestDiffStatsSummaryRequest.Builder
extends AbstractPullRequestRequest.AbstractBuilder<PullRequestDiffStatsSummaryRequest.Builder>
-
Field Summary
Fields inherited from class com.atlassian.bitbucket.util.BuilderSupport
NOT_BLANK -
Constructor Summary
ConstructorsConstructorDescriptionBuilder(int repositoryId, long pullRequestId) Builder(PullRequest pullRequest) -
Method Summary
Methods inherited from class com.atlassian.bitbucket.util.BuilderSupport
addIf, addIf, addIf, addIf, addIf, addIf, checkNotBlank, requireNonBlank
-
Constructor Details
-
Builder
-
Builder
public Builder(int repositoryId, long pullRequestId)
-
-
Method Details
-
build
-
path
- Parameters:
value- limits the diff to include only the specified path- Returns:
this
-
sinceId
- Parameters:
value- the "since" commit for the diff- Returns:
this
-
srcPath
- Parameters:
value- the source path for the file, if it was copied, moved or renamed- Returns:
this
-
untilId
- Parameters:
value- the "until" commit for the diff- Returns:
this
-
whitespace
@Nonnull public PullRequestDiffStatsSummaryRequest.Builder whitespace(@Nonnull DiffWhitespace value) - Parameters:
value- whitespace mode for showing diff- Returns:
this
-
self
- Specified by:
selfin classAbstractPullRequestRequest.AbstractBuilder<PullRequestDiffStatsSummaryRequest.Builder>
-