Hyperic HQ Plugin API v. 4.4.0.2

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.

Hyperic HQ Plugin API v. 4.4.0.2

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