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

java.lang.Object
  extended by org.rhq.core.domain.alert.notification.SenderResult

public class SenderResult
extends Object

The result of sending an alert notification via AlertSender#send()


Constructor Summary
SenderResult()
           
 
Method Summary
 void addFailureMessage(String message)
           
 void addSuccessMessage(String message)
           
 boolean equals(Object obj)
           
 List<String> getFailureMessages()
           
static SenderResult getSimpleDeffered(String message)
           
static SenderResult getSimpleFailure(String message)
           
static SenderResult getSimpleSuccess(String message)
           
 ResultState getState()
           
 List<String> getSuccessMessages()
           
 String getSummary()
           
 int hashCode()
           
 void setDeffered()
           
 void setSummary(String summary)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SenderResult

public SenderResult()
Method Detail

getSimpleSuccess

public static SenderResult getSimpleSuccess(String message)

getSimpleFailure

public static SenderResult getSimpleFailure(String message)

getSimpleDeffered

public static SenderResult getSimpleDeffered(String message)

setSummary

public void setSummary(String summary)

getSummary

public String getSummary()

getState

public ResultState getState()

setDeffered

public void setDeffered()

addSuccessMessage

public void addSuccessMessage(String message)

getSuccessMessages

public List<String> getSuccessMessages()

addFailureMessage

public void addFailureMessage(String message)

getFailureMessages

public List<String> getFailureMessages()

toString

public String toString()
Overrides:
toString in class Object

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object


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