Hyperic HQ Plugin API v. 4.4.0.2

org.hyperic.hq.events.ext
Class TriggerEventKey

java.lang.Object
  extended by org.hyperic.hq.events.ext.TriggerEventKey

public class TriggerEventKey
extends java.lang.Object

Key object used in RegisteredTrigger's internal Map. Indicates the combination of event type and instance a trigger is listening for


Constructor Summary
TriggerEventKey(java.lang.Class eventClass, int instanceId)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TriggerEventKey

public TriggerEventKey(java.lang.Class eventClass,
                       int instanceId)
Parameters:
eventClass - The event type
instanceId - The instance the event occurred against, or RegisteredTriggers.KEY_ALL if interested in all instances
Method Detail

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

Hyperic HQ Plugin API v. 4.4.0.2

Copyright © 2004-2006 Hyperic, Inc. support@hyperic.net, All Rights Reserved.