|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface SVcsModification
Server side vcs modification class.
| Method Summary | |
|---|---|
java.util.List<java.lang.Long> |
getCommitterIds()
Returns ids of TeamCity users mapped to this VCS modification by VCS username. |
java.util.Collection<SUser> |
getCommitters()
|
java.util.Collection<SVcsModification> |
getDuplicates()
Returns duplicates of this VCS modification |
java.util.List<FilteredVcsChange> |
getFilteredChanges(BuildPromotion buildPromotion)
Returns list of changed files filtered according to checkout rules of the specified build promotion |
java.util.List<FilteredVcsChange> |
getFilteredChanges(SBuild build)
Returns list of changed files filtered according to checkout rules of the specified build |
java.util.List<FilteredVcsChange> |
getFilteredChanges(SBuildType buildType)
Returns list of changed files filtered according to checkout rules of the specified build configuration |
java.util.Map<SBuildType,SBuild> |
getFirstBuilds()
For non-personal builds, returns map of build configuration -> build where this modification was included for the first time. |
int |
getNumberOfRelatedConfigurations()
Returns overall number of build configurations where this modification appeared. |
java.util.Collection<SVcsModification> |
getParentModifications()
Returns parent modifications of this VCS modification. |
PersonalChangeDescriptor |
getPersonalChangeInfo()
For personal changes, returns personal change information details. |
java.util.Date |
getRegistrationDate()
Returns date of this VCS modification registration in the TeamCity server database. |
java.util.Collection<SBuildType> |
getRelatedConfigurations()
Returns collection of build configurations where this modification appeared. |
java.util.Collection<Issue> |
getRelatedIssues()
Returns the collection of issues related to this modification (fixed bugs, introduced features, etc). |
java.util.Collection<SProject> |
getRelatedProjects()
|
VcsRootInstance |
getVcsRoot()
For non-personal modifications returns VCS root where this modification occurred. |
boolean |
isCommitter(User user)
Returns if the specified user is committer for the modification. |
boolean |
isHasRelatedIssues()
Returns whether the modification has related issues (fixed bugs, introduced features, etc). |
| Methods inherited from interface jetbrains.buildServer.vcs.VcsModification |
|---|
findChangeByPath, getChangeCount, getChanges, getDisplayVersion, getId, getVersion, getVersionControlName, isPersonal |
| Methods inherited from interface java.lang.Comparable |
|---|
compareTo |
| Methods inherited from interface jetbrains.buildServer.vcs.Modification |
|---|
getDescription, getUserName, getVcsDate |
| Method Detail |
|---|
VcsRootInstance getVcsRoot()
boolean isCommitter(@NotNull
User user)
user - specified user.
@NotNull java.util.List<java.lang.Long> getCommitterIds()
@NotNull java.util.Collection<SUser> getCommitters()
@NotNull java.util.Collection<SBuildType> getRelatedConfigurations()
@NotNull java.util.Collection<SProject> getRelatedProjects()
int getNumberOfRelatedConfigurations()
@NotNull
java.util.List<FilteredVcsChange> getFilteredChanges(@NotNull
SBuildType buildType)
buildType - build configuration
@NotNull
java.util.List<FilteredVcsChange> getFilteredChanges(@NotNull
SBuild build)
build - build
@NotNull
java.util.List<FilteredVcsChange> getFilteredChanges(@NotNull
BuildPromotion buildPromotion)
buildPromotion - build promotion
@NotNull java.util.Map<SBuildType,SBuild> getFirstBuilds()
@NotNull java.util.Collection<Issue> getRelatedIssues()
isHasRelatedIssues()boolean isHasRelatedIssues()
getRelatedIssues()@NotNull PersonalChangeDescriptor getPersonalChangeInfo()
java.lang.UnsupportedOperationException - when modification is not personalVcsModification.isPersonal()@NotNull java.util.Date getRegistrationDate()
@NotNull java.util.Collection<SVcsModification> getDuplicates()
@NotNull java.util.Collection<SVcsModification> getParentModifications()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||