jetbrains.buildServer.vcs
Interface VcsFileModification

All Superinterfaces:
VcsChangeInfo
All Known Implementing Classes:
FilteredVcsChange

public interface VcsFileModification
extends VcsChangeInfo

The behavioral representation of VcsChangeInfo

Author:
Sergey.Anchipolevsky Date: 06.09.2007

Nested Class Summary
 
Nested classes/interfaces inherited from interface jetbrains.buildServer.vcs.VcsChangeInfo
VcsChangeInfo.ContentType, VcsChangeInfo.Type
 
Method Summary
 byte[] getContentAfter()
          Returns file content after the modification
 byte[] getContentBefore()
          Returns file content before the modification
 
Methods inherited from interface jetbrains.buildServer.vcs.VcsChangeInfo
getAfterChangeRevisionNumber, getBeforeChangeRevisionNumber, getChangeTypeName, getFileName, getRelativeFileName, getType
 

Method Detail

getContentBefore

byte[] getContentBefore()
                        throws VcsException
Returns file content before the modification

Returns:
bytes of file content
Throws:
VcsException - if some VCS error occurs

getContentAfter

byte[] getContentAfter()
                       throws VcsException
Returns file content after the modification

Returns:
bytes of file content
Throws:
VcsException - if some VCS error occurs