Class PatchHunk
- java.lang.Object
-
- jetbrains.buildServer.vcs.patches.diff.PatchHunk
-
public class PatchHunk extends Object
-
-
Constructor Summary
Constructors Constructor Description PatchHunk(int startLineBefore, int endLineBefore, int startLineAfter, int endLineAfter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addLine(PatchLine line)
int
getEndLineAfter()
int
getEndLineBefore()
List<PatchLine>
getLines()
int
getStartLineAfter()
int
getStartLineBefore()
String
getText()
boolean
isDeletedContent()
boolean
isNewContent()
boolean
isNoNewLineAtEnd()
-
-
-
Method Detail
-
getStartLineBefore
public int getStartLineBefore()
-
getEndLineBefore
public int getEndLineBefore()
-
getStartLineAfter
public int getStartLineAfter()
-
getEndLineAfter
public int getEndLineAfter()
-
addLine
public void addLine(PatchLine line)
-
isNewContent
public boolean isNewContent()
-
isDeletedContent
public boolean isDeletedContent()
-
getText
public String getText()
-
isNoNewLineAtEnd
public boolean isNoNewLineAtEnd()
-
-