java.lang.Object | |||
↳ | com.atlassian.bitbucket.util.BuilderSupport | ||
↳ | com.atlassian.bitbucket.pull.AbstractPullRequestRequest.AbstractBuilder<T extends com.atlassian.bitbucket.pull.AbstractPullRequestRequest.AbstractBuilder<T>> | ||
↳ | com.atlassian.bitbucket.pull.PullRequestDiffRequest.Builder |
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.atlassian.bitbucket.util.BuilderSupport
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Specifies the number of context lines to include around added/removed lines.
| |||||||||||
Specifies whether comments should be provided to the callback when streaming the diff.
|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.atlassian.bitbucket.pull.AbstractPullRequestRequest.AbstractBuilder
| |||||||||||
From class
com.atlassian.bitbucket.util.BuilderSupport
| |||||||||||
From class
java.lang.Object
|
Specifies the number of context lines to include around added/removed lines. 0
and positive values
are treated as the number of lines to request. Any negative value is treated as a request for the
system-configured default number of lines.
When requesting the default number of context lines, it is encouraged to use DEFAULT_CONTEXT_LINES
for clarity: contextLines(DiffRequest.DEFAULT_CONTEXT_LINES)
.
value | the number of context lines to include around added and removed lines in the diff, which may
be DEFAULT_CONTEXT_LINES to use the default number |
---|
this
Specifies whether comments should be provided to the callback when streaming the diff. When requested,
comments are offered by thread
to allow them
to be matched to paths and line numbers in the diff as it is streamed.
value | true to request comments (and their threads) be provided to the callback when streaming
the diff (the default); otherwise, false to omit comments |
---|
this