Interface IssueWatcherAccessor
- All Known Implementing Classes:
DefaultIssueWatcherAccessor
public interface IssueWatcherAccessor
Get all watchers for an issue.
- Since:
- v4.1
-
Method Summary
Modifier and TypeMethodDescriptiongetWatcherKeys(Issue issue) getWatcherNames(Issue issue) Deprecated.getWatchers(Issue issue, Locale displayLocale) Convenience function that simply returns the User objects.boolean
-
Method Details
-
isWatchingEnabled
boolean isWatchingEnabled() -
getWatcherNames
Deprecated.UsegetWatcherKeys(com.atlassian.jira.issue.Issue)instead. Since v6.0.Convenience function that simply returns the User names.- Parameters:
issue- the issue to get the watchers for- Returns:
- an Iterable of the user names, empty if no watchers
-
getWatcherKeys
-
getWatchers
Convenience function that simply returns the User objects.- Parameters:
issue- the issue to get the watchers fordisplayLocale- for sorting.- Returns:
- an Iterable of the users, empty if no watchers
- Since:
- v4.3
-
getWatcherKeys(com.atlassian.jira.issue.Issue)instead.