|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjetbrains.buildServer.vcs.VcsChange
jetbrains.buildServer.vcs.FilteredVcsChange
public class FilteredVcsChange
Represents changed file and its status in change: whether it included or excluded by checkout rules.
| Nested Class Summary | |
|---|---|
static class |
FilteredVcsChange.ExcludeReason
Exclude reason |
| Nested classes/interfaces inherited from interface jetbrains.buildServer.vcs.VcsChangeInfo |
|---|
VcsChangeInfo.ContentType, VcsChangeInfo.Type |
| Constructor Summary | |
|---|---|
FilteredVcsChange(VcsFileModification delegate,
FilteredVcsChange.ExcludeReason excludeReason,
java.lang.String relativeFileName)
Creates new VcsChange instance. |
|
| Method Summary | |
|---|---|
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. |
| 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 |
| Constructor Detail |
|---|
public FilteredVcsChange(@NotNull
VcsFileModification delegate,
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.| Method Detail |
|---|
public boolean isExcluded()
public boolean isExcludedByCheckoutRules()
@Nullable public java.lang.String getExcludeReason()
public byte[] getContentBefore()
throws VcsException
VcsFileModification
getContentBefore in interface VcsFileModificationVcsException - if some VCS error occurs
public byte[] getContentAfter()
throws VcsException
VcsFileModification
getContentAfter in interface VcsFileModificationVcsException - if some VCS error occurs
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||