Hyperic HQ Plugin API v. 4.4.0.2

org.hyperic.hq.events.server.session
Class AlertRegulator

java.lang.Object
  extended by org.hyperic.hq.events.server.session.AlertRegulator

public class AlertRegulator
extends java.lang.Object

The AlertRegulator has the responsibility of limiting the generation of alerts.


Constructor Summary
AlertRegulator()
           
 
Method Summary
 boolean alertNotificationsAllowed()
           
 boolean alertsAllowed()
           
static AlertRegulator getInstance()
           
static void setInstance(AlertRegulator instance)
          For unit testing
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AlertRegulator

public AlertRegulator()
Method Detail

alertsAllowed

public boolean alertsAllowed()

alertNotificationsAllowed

public boolean alertNotificationsAllowed()

getInstance

public static AlertRegulator getInstance()

setInstance

public static void setInstance(AlertRegulator instance)
For unit testing

Parameters:
instance - The singleton instance to use

Hyperic HQ Plugin API v. 4.4.0.2

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