org.hyperic.hq.events
Class AbstractEvent
java.lang.Object
org.hyperic.hq.events.AbstractEvent
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable
- Direct Known Subclasses:
- AlertFiredEvent, BaselineChangeEvent, ConfigChangedEvent, ControlEvent, CPropChangeEvent, EscalationEvent, FlushStateEvent, HeartBeatEvent, MeasurementEvent, ResourceLogEvent, TriggerFiredEvent, TriggerNotFiredEvent
public abstract class AbstractEvent
- extends java.lang.Object
- implements java.io.Serializable, java.lang.Cloneable
Subsystems will extend the abstract Event class to be able to return a
specific payload value.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
AbstractEvent
public AbstractEvent()
getId
public java.lang.Long getId()
setId
public void setId(java.lang.Long id)
getInstanceId
public java.lang.Integer getInstanceId()
setInstanceId
public void setInstanceId(java.lang.Integer instanceId)
getTimestamp
public long getTimestamp()
setTimestamp
public void setTimestamp(long timestamp)
isLoggingSupported
public boolean isLoggingSupported()
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class java.lang.Object
Copyright © 2004-2006 Hyperic, Inc. support@hyperic.net, All Rights Reserved.