Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
DiffChunk.Builder |
baseLine(Integer baseLine)
Line number in base version where changes begin.
|
DiffChunk.Builder |
baseSpan(Integer baseSpan)
Number of lines chunk spans in base version.
|
DiffChunk |
build() |
DiffChunk.Builder |
copy(DiffChunk model) |
DiffChunk.Builder |
diffSections(List<DiffSection> diffSections)
List of difference section.
|
DiffChunk.Builder |
targetLine(Integer targetLine)
Line number in target version where changes begin.
|
DiffChunk.Builder |
targetSpan(Integer targetSpan)
Number of lines chunk spans in target version.
|
public DiffChunk.Builder baseLine(Integer baseLine)
Line number in base version where changes begin.
baseLine
- the value to setpublic DiffChunk.Builder baseSpan(Integer baseSpan)
Number of lines chunk spans in base version.
baseSpan
- the value to setpublic DiffChunk.Builder targetLine(Integer targetLine)
Line number in target version where changes begin.
targetLine
- the value to setpublic DiffChunk.Builder targetSpan(Integer targetSpan)
Number of lines chunk spans in target version.
targetSpan
- the value to setpublic DiffChunk.Builder diffSections(List<DiffSection> diffSections)
List of difference section.
diffSections
- the value to setpublic DiffChunk build()
public DiffChunk.Builder copy(DiffChunk model)
Copyright © 2016–2024. All rights reserved.