Class UserChangesFacadeImpl
- java.lang.Object
-
- jetbrains.buildServer.serverSide.impl.UserChangesFacadeImpl
-
- All Implemented Interfaces:
UserChangesFacade
public class UserChangesFacadeImpl extends Object implements UserChangesFacade
- Author:
- Kir
-
-
Constructor Summary
Constructors Constructor Description UserChangesFacadeImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<UserChangeInfo>createUserChangeInfo(List<ChangeStatus> changeStatuses)UserChangeInfocreateUserChangeInfo(SVcsModification modification)List<SVcsModification>getAllVcsModifications(User user)Returns list of all (personal/non-personal) modifications for specifiedusersorted by their VCS date.List<ChangeStatus>getChanges(UserChangesPolicy showChangesPolicy)Returns change status list for modifications made by user in version control.List<ChangeStatus>getMergedChanges(UserChangesPolicy showChangesPolicy)Returns list of merged change statuses for modifications made by user in version control.List<UserChangeInfo>getPersonalChanges(long userId)Returns all user personal changes.List<SVcsModification>getVcsModifications(UserChangesPolicy showChangesPolicy)Returns all changes made by the specified user in version control.voidsetBuildsManager(BuildsManager buildsManager)voidsetChangeStatusProvider(ChangeStatusProvider changeStatusProvider)voidsetPersonalBuildManager(PersonalBuildManagerEx personalBuildManager)voidsetQueue(BuildQueueEx queue)voidsetSecurityContext(SecurityContext securityContext)voidsetUserChangesFilter(UserChangesFilter userChangesFilter)voidsetVcsHistory(VcsModificationHistoryEx vcsHistory)
-
-
-
Method Detail
-
setPersonalBuildManager
public void setPersonalBuildManager(@NotNull PersonalBuildManagerEx personalBuildManager)
-
setQueue
public void setQueue(@NotNull BuildQueueEx queue)
-
setVcsHistory
public void setVcsHistory(@NotNull VcsModificationHistoryEx vcsHistory)
-
setUserChangesFilter
public void setUserChangesFilter(@NotNull UserChangesFilter userChangesFilter)
-
setChangeStatusProvider
public void setChangeStatusProvider(@NotNull ChangeStatusProvider changeStatusProvider)
-
setBuildsManager
public void setBuildsManager(@NotNull BuildsManager buildsManager)
-
setSecurityContext
public void setSecurityContext(@NotNull SecurityContext securityContext)
-
getAllVcsModifications
@NotNull public List<SVcsModification> getAllVcsModifications(@NotNull User user)
Description copied from interface:UserChangesFacadeReturns list of all (personal/non-personal) modifications for specifiedusersorted by their VCS date.- Specified by:
getAllVcsModificationsin interfaceUserChangesFacade- Parameters:
user- user of interest- Returns:
- see above
-
getPersonalChanges
@NotNull public List<UserChangeInfo> getPersonalChanges(long userId)
Description copied from interface:UserChangesFacadeReturns all user personal changes.- Specified by:
getPersonalChangesin interfaceUserChangesFacade- Parameters:
userId- user id.- Returns:
- list of all personal chanegs for the given user.
-
createUserChangeInfo
@NotNull public List<UserChangeInfo> createUserChangeInfo(@NotNull List<ChangeStatus> changeStatuses)
- Specified by:
createUserChangeInfoin interfaceUserChangesFacade
-
createUserChangeInfo
@NotNull public UserChangeInfo createUserChangeInfo(@NotNull SVcsModification modification)
- Specified by:
createUserChangeInfoin interfaceUserChangesFacade
-
getChanges
@NotNull public List<ChangeStatus> getChanges(@NotNull UserChangesPolicy showChangesPolicy)
Description copied from interface:UserChangesFacadeReturns change status list for modifications made by user in version control.- Specified by:
getChangesin interfaceUserChangesFacade- Parameters:
showChangesPolicy- data retrieving policy.- Returns:
- change status list for user vcs modifications
-
getMergedChanges
@NotNull public List<ChangeStatus> getMergedChanges(@NotNull UserChangesPolicy showChangesPolicy)
Description copied from interface:UserChangesFacadeReturns list of merged change statuses for modifications made by user in version control.- Specified by:
getMergedChangesin interfaceUserChangesFacade- Parameters:
showChangesPolicy- data retrieving policy.- Returns:
- list of merged change statuses for user vcs modifications
-
getVcsModifications
@NotNull public List<SVcsModification> getVcsModifications(@NotNull UserChangesPolicy showChangesPolicy)
Description copied from interface:UserChangesFacadeReturns all changes made by the specified user in version control.- Specified by:
getVcsModificationsin interfaceUserChangesFacade- Parameters:
showChangesPolicy- data retrieving policy.- Returns:
- newly created modifiable collection of changes made by this user
-
-