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 classNotifyConfig.Header
-
Constructor Summary
Constructors Constructor Description NotifyConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddEmail(GroupReference group)voidaddEmail(com.google.gerrit.mail.Address address)intcompareTo(NotifyConfig o)booleanequals(Object obj)Set<com.google.gerrit.mail.Address>getAddresses()StringgetFilter()Set<GroupReference>getGroups()NotifyConfig.HeadergetHeader()StringgetName()Set<ProjectWatches.NotifyType>getNotify()inthashCode()booleanisNotify(ProjectWatches.NotifyType type)voidsetFilter(String filter)voidsetHeader(NotifyConfig.Header hdr)voidsetName(String name)voidsetTypes(Set<ProjectWatches.NotifyType> newTypes)StringtoString()
-
-
-
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:
compareToin interfaceComparable<NotifyConfig>
-
-