com.atlassian.jira.rest.client.api.domain
Class BasicWatchers

java.lang.Object
  extended by com.atlassian.jira.rest.client.api.domain.BasicWatchers
All Implemented Interfaces:
AddressableEntity
Direct Known Subclasses:
Watchers

public class BasicWatchers
extends Object
implements AddressableEntity

Basic information about watchers of a JIRA issue

Since:
v0.1

Constructor Summary
BasicWatchers(URI self, boolean watching, int numWatchers)
           
 
Method Summary
 boolean equals(Object obj)
           
 int getNumWatchers()
           
 URI getSelf()
           
protected  com.google.common.base.Objects.ToStringHelper getToStringHelper()
           
 int hashCode()
           
 boolean isWatching()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BasicWatchers

public BasicWatchers(URI self,
                     boolean watching,
                     int numWatchers)
Method Detail

getSelf

public URI getSelf()
Specified by:
getSelf in interface AddressableEntity
Returns:
URI to this resource or (usually) its complete version - when partial representation is embedded in other resources

isWatching

public boolean isWatching()

getNumWatchers

public int getNumWatchers()

getToStringHelper

protected com.google.common.base.Objects.ToStringHelper getToStringHelper()

toString

public String toString()
Overrides:
toString in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2014 Atlassian. All Rights Reserved.