Class Overview
This bean describes the watcher list. Apart from an expandable list of watchers, this bean also holds a link to the
watchers sub-resource, and a boolean indicating whether the current user is watching the issue.
Summary
Nested Classes |
class |
WatchersBean.Builder |
|
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
final
void
|
wait()
|
|
Public Constructors
public
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.
Parameters
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())
|
public
WatchersBean
(String selfUri, Boolean watching, int count)