Interface WatchedBuilds
-
- All Known Subinterfaces:
WatchedBuildsEx
- All Known Implementing Classes:
WatchedBuildsImpl
public interface WatchedBuilds
Describes notification rule watch scope. Since TC 10 there are 2 types of WatchedBuilds: SYSTEM_WIDE and SPECIFIC_PROJECT_BUILD_TYPES (see WatchType). SYSTEM_WIDE stands for non-builds related events like investigations, tests and so on. SPECIFIC_PROJECT_BUILD_TYPES stands for build related events and could be filtered by projects and build configurations. In case there are no projects and build configurations watched WatchedBuilds will cover all projects (same as watched _Root)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Set<String>
getBuildTypeIds()
Returns watched configurations ids.Set<String>
getProjectIds()
Returns watched project internal ids Is not affected by watched build configurations (configuration parent is not added)Long
getUserId()
If builds with changes are watched returns id of the watcherWatchType
getWatchType()
Returns type of this watch
-
-
-
Method Detail
-
getWatchType
@NotNull WatchType getWatchType()
Returns type of this watch- Returns:
- type of this watch
-
getProjectIds
@NotNull Set<String> getProjectIds()
Returns watched project internal ids Is not affected by watched build configurations (configuration parent is not added)- Returns:
- see above
- Since:
- 10.0
-
getBuildTypeIds
@NotNull Set<String> getBuildTypeIds()
Returns watched configurations ids. Is not affected by watched projects (project children are not added)- Returns:
- if there are watched configurations specified, returns their ids. Empty collection otherwise.
-
getUserId
@Nullable Long getUserId()
If builds with changes are watched returns id of the watcher- Returns:
- id of the watcher or null
-
-