Package com.atlassian.bitbucket.watcher
Class WatcherSearchRequest
java.lang.Object
com.atlassian.bitbucket.watcher.WatcherSearchRequest
A request object to search for
watcher
entities by watchable
.
To check if a watcher exists for a given user / watchable pair see IsWatchingRequest
- Since:
- 5.10
- See Also:
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Indicates if a transitive search should be performed.
-
Method Details
-
getWatchable
-
isTransitive
public boolean isTransitive()Indicates if a transitive search should be performed.Transitive searches will retrieve watchers within a hierarchy. Users who are watching multiple entities in a hierarchy will be de-duplicated and only the most specific entity in the hierarchy will be returned. For example, if a user is watching a
repository
and apull request
only the pull request watcher will be returned.- Returns:
true
if a transitive search should be performed.false
otherwise
-