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
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbooleanIndicates 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
repositoryand apull requestonly the pull request watcher will be returned.- Returns:
trueif a transitive search should be performed.falseotherwise
-