com.pmease.quickbuild.setting.configuration.notification
Class Notification

java.lang.Object
  extended by com.pmease.quickbuild.setting.configuration.notification.Notification
All Implemented Interfaces:
java.io.Serializable

public class Notification
extends java.lang.Object
implements java.io.Serializable

This class defines who should receive the notification, when the notification should be sent, and via which notifier.

See Also:
Serialized Form

Nested Class Summary
static class Notification.Key
           
 
Field Summary
static java.lang.String COMMITTERS_SINCE_PREVIOUS
           
static java.lang.String COMMITTERS_SINCE_PREVIOUS_SUCCESSFUL
           
static java.lang.String TRIGGER
           
 
Constructor Summary
Notification()
           
 
Method Summary
static boolean contains(java.util.Collection<Notification> notifications, Notification notification)
           
 NotifyCondition getCondition()
           
 Notification.Key getKey()
           
 java.lang.String getNotifier()
           
 java.util.Set<java.lang.String> getReceivers()
           
 void setCondition(NotifyCondition condition)
           
 void setNotifier(java.lang.String notifier)
           
 void setReceivers(java.util.Set<java.lang.String> receivers)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TRIGGER

public static final java.lang.String TRIGGER
See Also:
Constant Field Values

COMMITTERS_SINCE_PREVIOUS

public static final java.lang.String COMMITTERS_SINCE_PREVIOUS
See Also:
Constant Field Values

COMMITTERS_SINCE_PREVIOUS_SUCCESSFUL

public static final java.lang.String COMMITTERS_SINCE_PREVIOUS_SUCCESSFUL
See Also:
Constant Field Values
Constructor Detail

Notification

public Notification()
Method Detail

getReceivers

@Size(min=1,
      max=10000)
public java.util.Set<java.lang.String> getReceivers()
Get set of receiver names for this notification.


setReceivers

public void setReceivers(java.util.Set<java.lang.String> receivers)

getNotifier

@NotNull
public java.lang.String getNotifier()

setNotifier

public void setNotifier(java.lang.String notifier)

getCondition

@NotNull
public NotifyCondition getCondition()
Get notify condition.


setCondition

public void setCondition(NotifyCondition condition)

getKey

public Notification.Key getKey()

contains

public static boolean contains(java.util.Collection<Notification> notifications,
                               Notification notification)


Copyright © 2005-2010 PMEase Inc. All Rights Reserved.