Class TextFilePatch
- java.lang.Object
-
- jetbrains.buildServer.vcs.patches.diff.FilePatch
-
- jetbrains.buildServer.vcs.patches.diff.TextFilePatch
-
public class TextFilePatch extends FilePatch
- Author:
- yole
-
-
Constructor Summary
Constructors Constructor Description TextFilePatch(int startLine)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addHunk(PatchHunk hunk)
List<PatchHunk>
getHunks()
int
getStartLine()
boolean
isDeletedFile()
boolean
isNewFile()
void
setFileStatus(FileStatus fileStatus)
-
Methods inherited from class jetbrains.buildServer.vcs.patches.diff.FilePatch
getAfterFileName, getAfterName, getAfterNameRelative, getAfterRevision, getAfterVersionId, getBaseRevisionText, getBeforeFileName, getBeforeName, getBeforeRevision, getBeforeVersionId, getNewFileMode, isGit, setAfterName, setAfterVersionId, setBaseRevisionText, setBeforeName, setBeforeVersionId, setGit, setNewFileMode
-
-
-
-
Method Detail
-
addHunk
public void addHunk(PatchHunk hunk)
-
isDeletedFile
public boolean isDeletedFile()
- Specified by:
isDeletedFile
in classFilePatch
-
getStartLine
public int getStartLine()
- Specified by:
getStartLine
in classFilePatch
-
setFileStatus
public void setFileStatus(@Nullable FileStatus fileStatus)
-
-