public class WatchersBean extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
WatchersBean.Builder |
| Constructor and Description |
|---|
WatchersBean(String selfUri,
Boolean watching,
int count) |
WatchersBean(String selfUri,
Boolean watching,
List<UserJsonBean> userBeans,
int count)
Creates a new SimpleListWrapper backed by the given list and returns at most maxResults items to the client.
|
public WatchersBean(String selfUri, Boolean watching, List<UserJsonBean> userBeans, int count)
selfUri - the URIwatching - a Boolean indicating whether the user is watching the issueuserBeans - a Collectioncount - the number of watcher (if the user does not have View Watchers permission then userBeans will be empty but count can be non-zero, so we can't just use userBeans.size())Copyright © 2002-2017 Atlassian. All Rights Reserved.