ExecutionStrategy (Hyperic HQ Plugin API)
Keywords: org.hyperic.hq.events.server.session.ExecutionStrategy 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.server.session
Interface ExecutionStrategy

All Known Implementing Classes:
  CounterExecutionStrategy, SingleAlertExecutionStrategy

    public interface ExecutionStrategy

Determines if an alert should be fired once the conditions associated with an alert definition have been met

Method Summary
`void` | `conditionsSatisfied(AlertConditionsSatisfiedZEvent event)` Indicates that all conditions associated with an alert definition have been met
`java.io.Serializable` | `getState()`
`void` | `initialize(java.io.Serializable initialState)` Initializes this strategy

Method Detail

### conditionsSatisfied

    void conditionsSatisfied(AlertConditionsSatisfiedZEvent event)

  Indicates that all conditions associated with an alert definition have been met

  Parameters:
    `event` - An `AlertConditionsSatisfiedZEvent` to process

### getState

    java.io.Serializable getState()

  Returns:
    Any state held by this strategy that should be persisted between server restarts. May be null if no state saved.

### initialize

    void initialize(java.io.Serializable initialState)

  Initializes this strategy

  Parameters:
    `initialState` - Any state that was saved by the strategy with this alertDefinitionId the last time the server was shutdown. May be null if no state saved.

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.