Package com.atlassian.bitbucket.content
Class DiffStatsSummaryRequest
java.lang.Object
com.atlassian.bitbucket.content.DiffStatsSummaryRequest
Describes a request to generate a diff stats summary of a given repository for a given commit or commit range.
- Since:
- 9.1
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetPaths()
Retrieves the secondary repository from which to generate the diff.boolean
-
Method Details
-
getPaths
- Returns:
- specific paths to diff, which may be empty to generate the diff for every modified path
-
getRepository
- Returns:
- the repository to use
-
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 theprimary 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
-
getWhitespace
- Returns:
- the whitespace mode used in the diff
-
isWithAutoSrcPath
public boolean isWithAutoSrcPath()- Returns:
true
if attempting to resolve the source path in case of a rename,false
otherwise. Only valid for a single path.
-