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 voidaddLine(PatchLine line)intgetEndLineAfter()intgetEndLineBefore()List<PatchLine>getLines()intgetStartLineAfter()intgetStartLineBefore()StringgetText()booleanisDeletedContent()booleanisNewContent()booleanisNoNewLineAtEnd()
-
-
-
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()
-
-