Overview | Package | Class | Tree | Deprecated | Index | Help
| Hyperic HQ Plugin API v. 4.4.0.2
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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

    java.lang.Object
      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

Overview | Package | Class | Tree | Deprecated | Index | Help
| Hyperic HQ Plugin API v. 4.4.0.2
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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