Package com.google.gerrit.server.git
Class NotifyConfig
- java.lang.Object
-
- com.google.gerrit.server.git.NotifyConfig
-
- All Implemented Interfaces:
Comparable<NotifyConfig>
public class NotifyConfig extends Object implements Comparable<NotifyConfig>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
NotifyConfig.Header
-
Constructor Summary
Constructors Constructor Description NotifyConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addEmail(GroupReference group)
void
addEmail(com.google.gerrit.mail.Address address)
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()
Set<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(Set<ProjectWatches.NotifyType> newTypes)
String
toString()
-
-
-
Method Detail
-
getName
public String getName()
-
setName
public void setName(String name)
-
isNotify
public boolean isNotify(ProjectWatches.NotifyType type)
-
getNotify
public Set<ProjectWatches.NotifyType> getNotify()
-
setTypes
public void setTypes(Set<ProjectWatches.NotifyType> newTypes)
-
getFilter
public String getFilter()
-
setFilter
public void setFilter(String filter)
-
getHeader
public NotifyConfig.Header getHeader()
-
setHeader
public void setHeader(NotifyConfig.Header hdr)
-
getGroups
public Set<GroupReference> getGroups()
-
getAddresses
public Set<com.google.gerrit.mail.Address> getAddresses()
-
addEmail
public void addEmail(GroupReference group)
-
addEmail
public void addEmail(com.google.gerrit.mail.Address address)
-
compareTo
public int compareTo(NotifyConfig o)
- Specified by:
compareTo
in interfaceComparable<NotifyConfig>
-
-