Package jetbrains.buildServer.vcs.impl
Class ServerSideVcsFileModificationImpl
- java.lang.Object
-
- jetbrains.buildServer.vcs.VcsChange
-
- jetbrains.buildServer.vcs.impl.ServerSideVcsFileModificationImpl
-
- All Implemented Interfaces:
VcsChangeInfo
,VcsFileModification
public class ServerSideVcsFileModificationImpl 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 Modifier Constructor Description protected
ServerSideVcsFileModificationImpl()
ServerSideVcsFileModificationImpl(SecurityContextEx securityContext, VcsModificationEx parentMod, VcsChangeInfo source)
ServerSideVcsFileModificationImpl(SecurityContextEx securityContext, VcsModificationEx parentMod, VcsChangeInfo.Type type, String changeName, String fileName, String relativeFileName, String beforeNum, String afterNum)
-
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
-
ServerSideVcsFileModificationImpl
protected ServerSideVcsFileModificationImpl()
-
ServerSideVcsFileModificationImpl
public ServerSideVcsFileModificationImpl(@NotNull SecurityContextEx securityContext, @NotNull VcsModificationEx parentMod, @NotNull VcsChangeInfo source)
-
ServerSideVcsFileModificationImpl
public ServerSideVcsFileModificationImpl(@NotNull SecurityContextEx securityContext, @NotNull VcsModificationEx parentMod, @NotNull VcsChangeInfo.Type type, @NotNull String changeName, @NotNull String fileName, @NotNull String relativeFileName, String beforeNum, String afterNum)
-
-
Method Detail
-
getContentBefore
public byte[] getContentBefore() throws VcsException
Description copied from interface:VcsFileModification
Returns file content before the modification- Specified by:
getContentBefore
in interfaceVcsFileModification
- Returns:
- bytes of file content
- Throws:
VcsException
- if some VCS error occurs
-
getContentAfter
public byte[] getContentAfter() throws VcsException
Description copied from interface:VcsFileModification
Returns file content after the modification- Specified by:
getContentAfter
in interfaceVcsFileModification
- Returns:
- bytes of file content
- Throws:
VcsException
- if some VCS error occurs
-
-