Package com.atlassian.bitbucket.scm
Class DiffStatsSummaryCommandParameters
java.lang.Object
com.atlassian.bitbucket.util.BuilderSupport
com.atlassian.bitbucket.scm.AbstractCommandParameters
com.atlassian.bitbucket.scm.AbstractDiffStatsSummaryCommandParameters
com.atlassian.bitbucket.scm.DiffStatsSummaryCommandParameters
Parameters describing the two commits to diff, and additional settings for controlling
the shape and content of the diff stats summary
- Since:
- 9.1
-
Nested Class Summary
Nested classes/interfaces inherited from class com.atlassian.bitbucket.scm.AbstractDiffStatsSummaryCommandParameters
AbstractDiffStatsSummaryCommandParameters.AbstractBuilder<B extends AbstractDiffStatsSummaryCommandParameters.AbstractBuilder<B>>
-
Field Summary
Fields inherited from class com.atlassian.bitbucket.util.BuilderSupport
NOT_BLANK
-
Method Summary
Modifier and TypeMethodDescriptionRetrieves the secondary repository from which to generate the diff.Methods inherited from class com.atlassian.bitbucket.scm.AbstractDiffStatsSummaryCommandParameters
getPaths, getWhitespace
Methods inherited from class com.atlassian.bitbucket.util.BuilderSupport
addIf, addIf, addIf, addIf, addIf, addIf, checkNotBlank, requireNonBlank
-
Method Details
-
getSecondaryRepository
Retrieves the secondary repository from which to generate the diff. Commits in this repository may only be identified by hash. Any branch or tag names used will always be resolved using the primary repository.- Returns:
- a secondary repository from which to generate the diff
-
getSinceId
- Returns:
- the "since" commit for the diff or
null
for theuntilId
's parent
-
getUntilId
- Returns:
- the "until" commit for the diff
-