org.rhq.core.domain.alert
Class AlertDampeningEvent

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

public class AlertDampeningEvent
extends Object
implements Serializable

See Also:
Serialized Form

Nested Class Summary
static class AlertDampeningEvent.Type
           
 
Field Summary
static String QUERY_DELETE_BY_ALERT_DEFINITION_ID
           
static String QUERY_DELETE_BY_RESOURCES
           
static String QUERY_DELETE_BY_TIMESTAMP
           
static String QUERY_FIND_BY_ALERT_DEFINITION_ID
           
static String QUERY_FIND_BY_TIME_AND_TYPES
           
static String QUERY_FIND_LATEST_BY_ALERT_DEFINITION_ID
           
 
Constructor Summary
protected AlertDampeningEvent()
           
  AlertDampeningEvent(AlertDefinition alertDefinition, AlertDampeningEvent.Type type)
           
 
Method Summary
 boolean equals(Object o)
           
 AlertDefinition getAlertDefinition()
           
 Long getEventTime()
           
 AlertDampeningEvent.Type getEventType()
           
 int getId()
           
 int hashCode()
           
 void setAlertDefinition(AlertDefinition alertDefinition)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

QUERY_FIND_LATEST_BY_ALERT_DEFINITION_ID

public static final String QUERY_FIND_LATEST_BY_ALERT_DEFINITION_ID
See Also:
Constant Field Values

QUERY_FIND_BY_TIME_AND_TYPES

public static final String QUERY_FIND_BY_TIME_AND_TYPES
See Also:
Constant Field Values

QUERY_FIND_BY_ALERT_DEFINITION_ID

public static final String QUERY_FIND_BY_ALERT_DEFINITION_ID
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_TIMESTAMP

public static final String QUERY_DELETE_BY_TIMESTAMP
See Also:
Constant Field Values

QUERY_DELETE_BY_ALERT_DEFINITION_ID

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

AlertDampeningEvent

protected AlertDampeningEvent()

AlertDampeningEvent

public AlertDampeningEvent(AlertDefinition alertDefinition,
                           AlertDampeningEvent.Type type)
Method Detail

getId

public int getId()

getAlertDefinition

public AlertDefinition getAlertDefinition()

setAlertDefinition

public void setAlertDefinition(AlertDefinition alertDefinition)

getEventType

public AlertDampeningEvent.Type getEventType()

getEventTime

public Long getEventTime()

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object


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