org.rhq.core.domain.alert.notification
Class AlertNotificationLog
java.lang.Object
org.rhq.core.domain.alert.notification.AlertNotificationLog
- All Implemented Interfaces:
- Serializable
public class AlertNotificationLog
- extends Object
- implements Serializable
A log record for a triggered action and/or notification taken for a fired alert.
- See Also:
- Serialized Form
QUERY_DELETE_ALL
public static final String QUERY_DELETE_ALL
- See Also:
- Constant Field Values
QUERY_DELETE_BY_ALERT_IDS
public static final String QUERY_DELETE_BY_ALERT_IDS
- See Also:
- Constant Field Values
QUERY_DELETE_BY_RESOURCES
public static final String QUERY_DELETE_BY_RESOURCES
- See Also:
- Constant Field Values
QUERY_DELETE_BY_RESOURCE_TEMPLATE
public static final String QUERY_DELETE_BY_RESOURCE_TEMPLATE
- See Also:
- Constant Field Values
QUERY_DELETE_BY_RESOURCE_GROUPS
public static final String QUERY_DELETE_BY_RESOURCE_GROUPS
- See Also:
- Constant Field Values
QUERY_DELETE_BY_ALERT_CTIME
public static final String QUERY_DELETE_BY_ALERT_CTIME
- See Also:
- Constant Field Values
QUERY_NATIVE_TRUNCATE_SQL
public static final String QUERY_NATIVE_TRUNCATE_SQL
- See Also:
- Constant Field Values
AlertNotificationLog
protected AlertNotificationLog()
AlertNotificationLog
public AlertNotificationLog(Alert alert,
String sender,
SenderResult senderResult)
AlertNotificationLog
public AlertNotificationLog(Alert alert,
String senderName,
ResultState state,
String message)
trimMessage
public void trimMessage()
getId
public int getId()
getAlert
public Alert getAlert()
getSender
public String getSender()
getResultState
public ResultState getResultState()
getMessage
public String getMessage()
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2008-2011 Red Hat, Inc.. All Rights Reserved.