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, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetAfterChangeRevisionNumber, getBeforeChangeRevisionNumber, getChangeTypeName, getFileName, getRelativeFileName, getTypepublic 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
VcsFileModificationgetContentBefore in interface VcsFileModificationVcsException - if some VCS error occurspublic byte[] getContentAfter()
throws VcsException
VcsFileModificationgetContentAfter in interface VcsFileModificationVcsException - if some VCS error occurs