public class NotifyConfig extends Object implements Comparable<NotifyConfig>
Modifier and Type | Class and Description |
---|---|
static class |
NotifyConfig.Header |
Constructor and Description |
---|
NotifyConfig() |
Modifier and Type | Method and Description |
---|---|
void |
addEmail(com.google.gerrit.mail.Address address) |
void |
addEmail(GroupReference group) |
int |
compareTo(NotifyConfig o) |
boolean |
equals(Object obj) |
Set<com.google.gerrit.mail.Address> |
getAddresses() |
String |
getFilter() |
Set<GroupReference> |
getGroups() |
NotifyConfig.Header |
getHeader() |
String |
getName() |
EnumSet<ProjectWatches.NotifyType> |
getNotify() |
int |
hashCode() |
boolean |
isNotify(ProjectWatches.NotifyType type) |
void |
setFilter(String filter) |
void |
setHeader(NotifyConfig.Header hdr) |
void |
setName(String name) |
void |
setTypes(EnumSet<ProjectWatches.NotifyType> newTypes) |
String |
toString() |
public String getName()
public void setName(String name)
public boolean isNotify(ProjectWatches.NotifyType type)
public EnumSet<ProjectWatches.NotifyType> getNotify()
public void setTypes(EnumSet<ProjectWatches.NotifyType> newTypes)
public String getFilter()
public void setFilter(String filter)
public NotifyConfig.Header getHeader()
public void setHeader(NotifyConfig.Header hdr)
public Set<GroupReference> getGroups()
public Set<com.google.gerrit.mail.Address> getAddresses()
public void addEmail(GroupReference group)
public void addEmail(com.google.gerrit.mail.Address address)
public int compareTo(NotifyConfig o)
compareTo
in interface Comparable<NotifyConfig>