|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface StatusProvider
This class contains a set of methods used by various notifiers to represent it's status. WARNING: please don't use this class, most likely it will change in the future.
| Method Summary | |
|---|---|
ResponsibilityStatus |
getWatchedBuildsResponsibilityStatus(User user,
Notificator notificator)
Returns aggregated (worst) responsibility status of the builds watched by the user. |
Status |
getWatchedBuildsStatus(User user,
java.lang.String notificatorType)
Returns aggregated (worst) status of the builds watched by the user. |
Status |
getWatchedBuildsStatus(User user,
java.lang.String notificatorType,
jetbrains.buildServer.util.filters.Filter<BuildType> filter)
Returns aggregated (worst) status of the builds watched by the user. |
java.util.SortedMap<SProject,java.util.List<SBuildType>> |
getWatchedBuildTypes(User user,
java.lang.String notificatorType)
Returns map of build configurations per project watched by the specified user. |
java.util.Collection<java.lang.Long> |
getWatchers(BuildType configuration,
java.lang.String notificatorType)
Returns collection of user ids who watch this configuration |
Status |
getWorstBuildTypesStatus(java.util.List<? extends BuildType> buildTypes)
Returns aggregated (worst) status among specified build configurations. |
| Method Detail |
|---|
Status getWatchedBuildsStatus(User user,
java.lang.String notificatorType)
NotificationRule for specified notificator.
Note: paused build configurations and personal builds are ignored and do not affect calculated status.
user - user for which status is calculatednotificatorType - type of notificator, see Notificator.getNotificatorType()
Status getWatchedBuildsStatus(User user,
java.lang.String notificatorType,
jetbrains.buildServer.util.filters.Filter<BuildType> filter)
NotificationRule for specified notificator and accepted by the specified filter.
Note: paused build configurations and personal builds are ignored and do not affect calculated status.
user - user for which status is calculatednotificatorType - type of notificator, see Notificator.getNotificatorType()filter - build confidurations filter
ResponsibilityStatus getWatchedBuildsResponsibilityStatus(User user,
Notificator notificator)
NotificationRule for specified notificator.
Note: paused build configurations and personal builds are ignored and do not affect calculated status.
user - user for which status is calculatednotificator - notificator for which status is calculated
Status getWorstBuildTypesStatus(java.util.List<? extends BuildType> buildTypes)
Note: paused build configurations are ignored and do not affect calculated status.
buildTypes - build configurations to compute status on
java.util.SortedMap<SProject,java.util.List<SBuildType>> getWatchedBuildTypes(User user,
java.lang.String notificatorType)
NotificationRule for specified notificator.
The map includes paused build configurations and build configurations with running personal builds owned by specified user.
Projects in map are sorted according to user settings.
user - user, whose watched build configurations are returnednotificatorType - type of notificator, see Notificator.getNotificatorType()
java.util.Collection<java.lang.Long> getWatchers(BuildType configuration,
java.lang.String notificatorType)
configuration - specified configurationnotificatorType - specified notificatir type, see Notificator.getNotificatorType()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||