public class DiffRequest extends AbstractDiffRequest
Modifier and Type | Class and Description |
---|---|
static class |
DiffRequest.Builder |
AbstractDiffRequest.AbstractBuilder<B extends AbstractDiffRequest.AbstractBuilder<B,R>,R>
DEFAULT_CONTEXT_LINES
Modifier and Type | Method and Description |
---|---|
Repository |
getRepository() |
Repository |
getSecondaryRepository()
Retrieves the secondary repository from which to generate the diff.
|
String |
getSinceId() |
String |
getUntilId() |
boolean |
isWithAutoSrcPath() |
boolean |
isWithComments() |
getContextLines, getFilter, getPaths, getWhitespace, hasContextLines
@Nonnull public Repository getRepository()
@Nullable public Repository getSecondaryRepository()
primary repository
.@Nullable public String getSinceId()
null
for the untilId
's parentpublic boolean isWithAutoSrcPath()
true
if attempting to resolve the source path in case of a rename, false
otherwise.
Only valid for a single path.public boolean isWithComments()
true
if the comment associated with the diff should be included in the response to this request.
false
otherwiseCopyright © 2022 Atlassian. All rights reserved.