java.lang.Object | ||
↳ | com.atlassian.bitbucket.util.BuilderSupport | |
↳ | com.atlassian.bitbucket.content.AbstractDiffRequest.AbstractBuilder<B extends com.atlassian.bitbucket.content.AbstractDiffRequest.AbstractBuilder<B, R>, R> |
![]() |
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Protected Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Specifies the number of context lines to include around added/removed lines.
| |||||||||||
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() |
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