TriggerInterface (Hyperic HQ Plugin API)
Keywords: org.hyperic.hq.events.TriggerInterface interface

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
Interface TriggerInterface

All Known Implementing Classes:
  AbstractTrigger, AlertTrigger, ConfigChangedTrigger, ControlEventTrigger, CustomPropertyTrigger, LogEventTrigger, MeasurementThresholdTrigger, ValueChangeTrigger

    public interface TriggerInterface

The trigger interface.

Method Summary
`java.lang.Integer` | `getId()` Retrieve the trigger id.
`void` | `processEvent(AbstractEvent event)` Process an event from the dispatcher.

Method Detail

### processEvent

    void processEvent(AbstractEvent event)
                      throws EventTypeException,
                             ActionExecuteException

  Process an event from the dispatcher.

  Parameters:
    `event` - the Event to process
  Throws:
    `EventTypeException` - if the trigger does not process events of the type provided
    `ActionExecuteException` - if an action throws an exception

### getId

    java.lang.Integer getId()

  Retrieve the trigger id.

  Returns:
    The trigger id.

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.