org.rhq.enterprise.server.plugins.alertRoles
Class RolesSender

java.lang.Object
  extended by org.rhq.enterprise.server.plugin.pc.alert.AlertSender
      extended by org.rhq.enterprise.server.plugins.alertRoles.RolesSender

public class RolesSender
extends AlertSender

AlertSender that notifies RHQ roles by gathering the email addresses of the members of the given roles and putting them into the SenderResult object for later delivery by the system.

Author:
Heiko W. Rupp, Joseph Marques

Field Summary
 
Fields inherited from class org.rhq.enterprise.server.plugin.pc.alert.AlertSender
alertParameters, extraParameters, pluginComponent, preferences, serverPluginEnvironment
 
Constructor Summary
RolesSender()
           
 
Method Summary
 String previewConfiguration()
           
 SenderResult send(Alert alert)
           
 
Methods inherited from class org.rhq.enterprise.server.plugin.pc.alert.AlertSender
fence, unfence, unfence, validateAndFinalizeConfiguration
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RolesSender

public RolesSender()
Method Detail

send

public SenderResult send(Alert alert)
Specified by:
send in class AlertSender

previewConfiguration

public String previewConfiguration()
Overrides:
previewConfiguration in class AlertSender


Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.