java.lang.Object | |||
↳ | com.atlassian.stash.util.BuilderSupport | ||
↳ | com.atlassian.stash.content.AbstractDiffRequest.AbstractBuilder<B extends com.atlassian.stash.content.AbstractDiffRequest.AbstractBuilder<B, R>, R> | ||
↳ | com.atlassian.stash.content.DiffRequest.Builder |
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.atlassian.stash.util.BuilderSupport
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Specifies the number of context lines to include around added/removed lines.
| |||||||||||
Specifies the since changeset for the diff.
| |||||||||||
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.atlassian.stash.content.AbstractDiffRequest.AbstractBuilder
| |||||||||||
From class
com.atlassian.stash.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.
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 the since changeset for the diff. Generally this is an ancestor of the until changeset, but it is not required to be.
If the since and until changesets are not directly related, the returned diff may not make sense. For example, it may show files as added, removed or modified that have not actually been changed. When an explicit since changeset is provided, it is recommended to always use an ancestor of the until changeset.value | the since changeset's ID, which will be trimmed to null if blank |
---|
this