com.atlassian.jira.webtests.ztests.bundledplugins2.rest.client
Class Notification

java.lang.Object
  extended by com.atlassian.jira.webtests.ztests.bundledplugins2.rest.client.Notification

public final class Notification
extends Object


Nested Class Summary
static class Notification.Restrict
           
static class Notification.To
           
 
Field Summary
 String htmlBody
           
 Notification.Restrict restrict
           
 String subject
           
 String textBody
           
 Notification.To to
           
 
Constructor Summary
Notification()
           
 
Method Summary
 boolean equals(Object obj)
           
 int hashCode()
           
 Notification htmlBody(String html)
           
 Notification restrictToGroup(String group)
           
 Notification restrictToPermission(int permissionId)
           
 Notification restrictToPermission(String permissionKey)
           
 Notification subject(String subject)
           
 Notification textBody(String text)
           
 Notification toAssignee()
           
 Notification toEmail(String email)
           
 Notification toGroup(String group)
           
 Notification toReporter()
           
 String toString()
           
 Notification toUser(String user)
           
 Notification toVoters()
           
 Notification toWatchers()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

subject

public String subject

textBody

public String textBody

htmlBody

public String htmlBody

to

public Notification.To to

restrict

public Notification.Restrict restrict
Constructor Detail

Notification

public Notification()
Method Detail

subject

public Notification subject(String subject)

textBody

public Notification textBody(String text)

htmlBody

public Notification htmlBody(String html)

toReporter

public Notification toReporter()

toAssignee

public Notification toAssignee()

toWatchers

public Notification toWatchers()

toVoters

public Notification toVoters()

toEmail

public Notification toEmail(String email)

toUser

public Notification toUser(String user)

toGroup

public Notification toGroup(String group)

restrictToGroup

public Notification restrictToGroup(String group)

restrictToPermission

public Notification restrictToPermission(int permissionId)

restrictToPermission

public Notification restrictToPermission(String permissionKey)

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

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

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2002-2014 Atlassian. All Rights Reserved.