org.rhq.core.domain.alert.notification
Class SnmpNotification
java.lang.Object
org.rhq.core.domain.alert.notification.AlertNotification
org.rhq.core.domain.alert.notification.SnmpNotification
- All Implemented Interfaces:
- Serializable
public class SnmpNotification
- extends AlertNotification
An alert notification that sends an SNMP trap to the specified SNMP host+port+OID.
- See Also:
- Serialized Form
QUERY_FIND_ALL_BY_ALERT_DEFINITION_ID
public static final String QUERY_FIND_ALL_BY_ALERT_DEFINITION_ID
- See Also:
- Constant Field Values
SnmpNotification
protected SnmpNotification()
SnmpNotification
public SnmpNotification(SnmpNotification snmpNotification)
SnmpNotification
public SnmpNotification(AlertDefinition alertDefinition,
@NotNull
String host,
@Nullable
Integer port,
@NotNull
String oid)
getHost
@NotNull
public String getHost()
getPort
public int getPort()
getOid
@NotNull
public String getOid()
copy
public AlertNotification copy()
- Specified by:
copy
in class AlertNotification
equals
public boolean equals(Object obj)
- 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 RHQ Project Advisory Board (Red Hat, Inc. and Hyperic, Inc.). All Rights Reserved.