public class WatchersBean extends Object
|Modifier and Type||Class and Description|
|Constructor and Description|
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 URI
watching- a Boolean indicating whether the user is watching the issue
userBeans- a Collection
count- 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-2015 Atlassian. All Rights Reserved.