org.rhq.core.domain.alert.notification
Class SenderResult
java.lang.Object
org.rhq.core.domain.alert.notification.SenderResult
public class SenderResult
- extends Object
The result of sending an alert notification via AlertSender#send()
SenderResult
public SenderResult()
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.