org.rhq.core.domain.alert.notification
Class EmailNotification

java.lang.Object
  extended by org.rhq.core.domain.alert.notification.AlertNotification
      extended by org.rhq.core.domain.alert.notification.EmailNotification
All Implemented Interfaces:
Serializable

public class EmailNotification
extends AlertNotification

See Also:
Serialized Form

Field Summary
static String QUERY_FIND_ALL_BY_ALERT_DEFINITION_ID
           
static String QUERY_FIND_BY_IDS
           
 
Fields inherited from class org.rhq.core.domain.alert.notification.AlertNotification
DELETE_BY_ID, QUERY_DELETE_BY_RESOURCES, QUERY_DELETE_ORPHANED
 
Constructor Summary
protected EmailNotification()
           
  EmailNotification(AlertDefinition alertDefinition, String emailAddress)
           
  EmailNotification(EmailNotification emailNotification)
           
 
Method Summary
protected  AlertNotification copy()
           
 boolean equals(Object obj)
           
 String getEmailAddress()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class org.rhq.core.domain.alert.notification.AlertNotification
copy, getAlertDefinition, getId, prepareForOrphanDelete, setAlertDefinition
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

QUERY_FIND_ALL_BY_ALERT_DEFINITION_ID

public static final String QUERY_FIND_ALL_BY_ALERT_DEFINITION_ID
See Also:
Constant Field Values

QUERY_FIND_BY_IDS

public static final String QUERY_FIND_BY_IDS
See Also:
Constant Field Values
Constructor Detail

EmailNotification

protected EmailNotification()

EmailNotification

public EmailNotification(EmailNotification emailNotification)

EmailNotification

public EmailNotification(@NotNull
                         AlertDefinition alertDefinition,
                         @NotNull
                         String emailAddress)
Method Detail

getEmailAddress

@NotNull
public String getEmailAddress()

copy

protected AlertNotification copy()
Specified by:
copy in class AlertNotification

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2008-2009 RHQ Project Advisory Board (Red Hat, Inc.). All Rights Reserved.