Class DefaultIssueWatcherAccessor
java.lang.Object
com.atlassian.jira.issue.watchers.DefaultIssueWatcherAccessor
- All Implemented Interfaces:
IssueWatcherAccessor
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetWatcherKeys(Issue issue) getWatcherNames(Issue issue) Convenience function that simply returns the User names.getWatchers(Issue issue, Locale displayLocale) Convenience function that simply returns the User objects.boolean
-
Constructor Details
-
DefaultIssueWatcherAccessor
-
-
Method Details
-
getWatchers
Description copied from interface:IssueWatcherAccessorConvenience function that simply returns the User objects.- Specified by:
getWatchersin interfaceIssueWatcherAccessor- Parameters:
issue- the issue to get the watchers fordisplayLocale- for sorting.- Returns:
- an Iterable of the users, empty if no watchers
-
isWatchingEnabled
public boolean isWatchingEnabled()- Specified by:
isWatchingEnabledin interfaceIssueWatcherAccessor
-
getWatcherNames
Description copied from interface:IssueWatcherAccessorConvenience function that simply returns the User names.- Specified by:
getWatcherNamesin interfaceIssueWatcherAccessor- Parameters:
issue- the issue to get the watchers for- Returns:
- an Iterable of the user names, empty if no watchers
-
getWatcherKeys
- Specified by:
getWatcherKeysin interfaceIssueWatcherAccessor
-