jetbrains.buildServer.notification
Interface WatchedBuilds


public interface WatchedBuilds

Describes notification rule watched builds configuration


Method Summary
 java.util.Set<java.lang.String> getBuildTypeIds()
          Returns watched conigurations ids.
 java.lang.String getProjectId()
          Returns watched project id.
 java.lang.Long getUserId()
          If builds with changes are watched returns id of the watcher
 WatchType getWatchType()
          Returns type of this watch
 

Method Detail

getWatchType

WatchType getWatchType()
Returns type of this watch

Returns:
type of this watch

getProjectId

java.lang.String getProjectId()
Returns watched project id.

Returns:
if there is a watched project specified, returns its id. null otherwise.

getBuildTypeIds

java.util.Set<java.lang.String> getBuildTypeIds()
Returns watched conigurations ids.

Returns:
if there are watched configurations specified, returns their ids. Empty collection otherwise.

getUserId

java.lang.Long getUserId()
If builds with changes are watched returns id of the watcher

Returns:
id of the watcher or null