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)
UserChangeInfo
createUserChangeInfo(SVcsModification modification)
List<SVcsModification>
getAllVcsModifications(User user)
Returns list of all (personal/non-personal) modifications for specifieduser
sorted 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.void
setBuildsManager(BuildsManager buildsManager)
void
setChangeStatusProvider(ChangeStatusProvider changeStatusProvider)
void
setPersonalBuildManager(PersonalBuildManagerEx personalBuildManager)
void
setQueue(BuildQueueEx queue)
void
setSecurityContext(SecurityContext securityContext)
void
setUserChangesFilter(UserChangesFilter userChangesFilter)
void
setVcsHistory(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:UserChangesFacade
Returns list of all (personal/non-personal) modifications for specifieduser
sorted by their VCS date.- Specified by:
getAllVcsModifications
in interfaceUserChangesFacade
- Parameters:
user
- user of interest- Returns:
- see above
-
getPersonalChanges
@NotNull public List<UserChangeInfo> getPersonalChanges(long userId)
Description copied from interface:UserChangesFacade
Returns all user personal changes.- Specified by:
getPersonalChanges
in 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:
createUserChangeInfo
in interfaceUserChangesFacade
-
createUserChangeInfo
@NotNull public UserChangeInfo createUserChangeInfo(@NotNull SVcsModification modification)
- Specified by:
createUserChangeInfo
in interfaceUserChangesFacade
-
getChanges
@NotNull public List<ChangeStatus> getChanges(@NotNull UserChangesPolicy showChangesPolicy)
Description copied from interface:UserChangesFacade
Returns change status list for modifications made by user in version control.- Specified by:
getChanges
in 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:UserChangesFacade
Returns list of merged change statuses for modifications made by user in version control.- Specified by:
getMergedChanges
in 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:UserChangesFacade
Returns all changes made by the specified user in version control.- Specified by:
getVcsModifications
in interfaceUserChangesFacade
- Parameters:
showChangesPolicy
- data retrieving policy.- Returns:
- newly created modifiable collection of changes made by this user
-
-