public static class DiffLineDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
DiffLineDetails.Builder |
baseLine(Integer baseLine)
The number of a line in the base version.
|
DiffLineDetails |
build() |
DiffLineDetails.Builder |
conflictMarker(DiffLineDetails.ConflictMarker conflictMarker)
Indicates whether a line in a conflicted section of the difference is from the base
version, the target version, or if its just a marker indicating the beginning, middle, or
end of a conflicted section.
|
DiffLineDetails.Builder |
copy(DiffLineDetails model) |
DiffLineDetails.Builder |
lineContent(String lineContent)
The contents of a line.
|
DiffLineDetails.Builder |
targetLine(Integer targetLine)
The number of a line in the target version.
|
public DiffLineDetails.Builder baseLine(Integer baseLine)
The number of a line in the base version.
baseLine
- the value to setpublic DiffLineDetails.Builder targetLine(Integer targetLine)
The number of a line in the target version.
targetLine
- the value to setpublic DiffLineDetails.Builder lineContent(String lineContent)
The contents of a line.
lineContent
- the value to setpublic DiffLineDetails.Builder conflictMarker(DiffLineDetails.ConflictMarker conflictMarker)
Indicates whether a line in a conflicted section of the difference is from the base version, the target version, or if its just a marker indicating the beginning, middle, or end of a conflicted section.
conflictMarker
- the value to setpublic DiffLineDetails build()
public DiffLineDetails.Builder copy(DiffLineDetails model)
Copyright © 2016–2024. All rights reserved.