public class FilteredVcsChange extends VcsChange implements VcsFileModification
Modifier and Type | Class and Description |
---|---|
static class |
FilteredVcsChange.ExcludeReason
Exclude reason
|
VcsChangeInfo.ContentType, VcsChangeInfo.Type
Constructor and Description |
---|
FilteredVcsChange(VcsFileModification delegate,
FilteredVcsChange.ExcludeReason excludeReason,
java.lang.String relativeFileName)
Creates new VcsChange instance.
|
Modifier and Type | Method and Description |
---|---|
byte[] |
getContentAfter()
Returns file content after the modification
|
byte[] |
getContentBefore()
Returns file content before the modification
|
java.lang.String |
getExcludeReason() |
boolean |
isExcluded()
Returns if this file is excluded.
|
boolean |
isExcludedByCheckoutRules()
Returns true if this file is excluded by checkout rules.
|
createList, equals, forTest, getAfterChangeRevisionNumber, getBeforeChangeRevisionNumber, getChangeTypeName, getFileName, getRelativeFileName, getType, hashCode, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getAfterChangeRevisionNumber, getBeforeChangeRevisionNumber, getChangeTypeName, getFileName, getRelativeFileName, getType
public FilteredVcsChange(@NotNull VcsFileModification delegate, @Nullable FilteredVcsChange.ExcludeReason excludeReason, java.lang.String relativeFileName)
delegate
- original, not filtered changed fileexcludeReason
- reason of the file exclusionrelativeFileName
- relative file path according to the specified build or configuration.public boolean isExcluded()
public boolean isExcludedByCheckoutRules()
@Nullable public java.lang.String getExcludeReason()
public byte[] getContentBefore() throws VcsException
VcsFileModification
getContentBefore
in interface VcsFileModification
VcsException
- if some VCS error occurspublic byte[] getContentAfter() throws VcsException
VcsFileModification
getContentAfter
in interface VcsFileModification
VcsException
- if some VCS error occurs