Class MockVcsFileModification
- java.lang.Object
-
- jetbrains.buildServer.vcs.VcsChange
-
- jetbrains.buildServer.serverSide.impl.MockVcsFileModification
-
- All Implemented Interfaces:
VcsChangeInfo
,VcsFileModification
public class MockVcsFileModification extends VcsChange implements VcsFileModification
- Author:
- Sergey.Anchipolevsky Date: 06.09.2007
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface jetbrains.buildServer.vcs.VcsChangeInfo
VcsChangeInfo.ContentType, VcsChangeInfo.Type
-
-
Constructor Summary
Constructors Constructor Description MockVcsFileModification(VcsChangeInfo source)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]
getContentAfter()
Returns file content after the modificationbyte[]
getContentBefore()
Returns file content before the modification-
Methods inherited from class jetbrains.buildServer.vcs.VcsChange
createList, equals, forTest, getAfterChangeRevisionNumber, getBeforeChangeRevisionNumber, getChangeTypeName, getFileName, getRelativeFileName, getType, hashCode, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface jetbrains.buildServer.vcs.VcsChangeInfo
getAfterChangeRevisionNumber, getBeforeChangeRevisionNumber, getChangeTypeName, getFileName, getRelativeFileName, getType, needsApplicabilityCheck
-
-
-
-
Constructor Detail
-
MockVcsFileModification
public MockVcsFileModification(@NotNull VcsChangeInfo source)
-
-
Method Detail
-
getContentBefore
public byte[] getContentBefore()
Description copied from interface:VcsFileModification
Returns file content before the modification- Specified by:
getContentBefore
in interfaceVcsFileModification
- Returns:
- bytes of file content
-
getContentAfter
public byte[] getContentAfter()
Description copied from interface:VcsFileModification
Returns file content after the modification- Specified by:
getContentAfter
in interfaceVcsFileModification
- Returns:
- bytes of file content
-
-