Package com.atlassian.bitbucket.scm
Class DiffStatsSummaryCommandParameters.Builder
java.lang.Object
com.atlassian.bitbucket.scm.AbstractDiffStatsSummaryCommandParameters.AbstractBuilder<DiffStatsSummaryCommandParameters.Builder>
com.atlassian.bitbucket.scm.DiffStatsSummaryCommandParameters.Builder
- Enclosing class:
- DiffStatsSummaryCommandParameters
public static class DiffStatsSummaryCommandParameters.Builder
extends AbstractDiffStatsSummaryCommandParameters.AbstractBuilder<DiffStatsSummaryCommandParameters.Builder>
-
Field Summary
Fields inherited from class com.atlassian.bitbucket.scm.AbstractDiffStatsSummaryCommandParameters.AbstractBuilder
paths, whitespace
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
secondaryRepository
(Repository value) self()
Specifies the "since" commit for the diff.Methods inherited from class com.atlassian.bitbucket.scm.AbstractDiffStatsSummaryCommandParameters.AbstractBuilder
path, paths, paths, whitespace
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
-
secondaryRepository
@Nonnull public DiffStatsSummaryCommandParameters.Builder secondaryRepository(@Nullable Repository value) - Parameters:
value
- the secondary repository from which to generate the diff- Returns:
this
-
sinceId
Specifies the "since" commit for the diff. Generally this is an ancestor of the "until" commit, but it is not required to be.If the "since" and "until" commit are not directly related, the returned diff may not make sense. For example, it may show files as added, removed or modified that have not actually been changed. When an explicit "since" commit is provided, it is recommended to always use an ancestor of the "until" commit.
- Parameters:
value
- the "since" commit for the diff- Returns:
this
-
untilId
- Parameters:
value
- "until" commit for the diff- Returns:
this
-
self
- Specified by:
self
in classAbstractDiffStatsSummaryCommandParameters.AbstractBuilder<DiffStatsSummaryCommandParameters.Builder>
-