View Javadoc

1   package org.apache.maven.continuum.notification.manager;
2   
3   import org.apache.maven.continuum.notification.Notifier;
4   
5   import java.util.Map;
6   
7   /**
8    * @author <a href="mailto:evenisse@apache.org">Emmanuel Venisse</a>
9    * @version $Id: DefaultNotifierManager.java 751594 2009-03-09 06:07:19Z evenisse $
10   */
11  public class DefaultNotifierManager
12      implements NotifierManager
13  {
14      private Map<String, Notifier> notifiers;
15  
16      public Notifier getNotifier( String notifierId )
17      {
18          return notifiers.get( notifierId );
19      }
20  
21      public Map<String, Notifier> getNotifiers()
22      {
23          return notifiers;
24      }
25  
26      public void setNotifiers( Map<String, Notifier> notifiers )
27      {
28          this.notifiers = notifiers;
29      }
30  }