Hyperic HQ Plugin API v. 4.4.0.2

org.hyperic.hq.events.server.session
Interface AlertConditionEvaluatorStateRepository

All Known Implementing Classes:
FileAlertConditionEvaluatorStateRepository

public interface AlertConditionEvaluatorStateRepository

Repository to save and access state of AlertConditionEvaluators and their associated ExecutionStrategys.


Method Summary
 java.util.Map getAlertConditionEvaluatorStates()
           
 java.util.Map getExecutionStrategyStates()
           
 void saveAlertConditionEvaluatorStates(java.util.Map alertConditionEvaluatorStates)
          Persists states of AlertConditionEvaluators
 void saveExecutionStrategyStates(java.util.Map executionStrategyStates)
          Persists states of ExecutionStrategys
 

Method Detail

getAlertConditionEvaluatorStates

java.util.Map getAlertConditionEvaluatorStates()
Returns:
A Map where key is alert definition ID and value is the Serializable stored state of the AlertConditionEvaluator with that ID.

getExecutionStrategyStates

java.util.Map getExecutionStrategyStates()
Returns:
A Map where key is alert definition ID and value is the Serializable stored state of the ExecutionStrategy with that ID.

saveAlertConditionEvaluatorStates

void saveAlertConditionEvaluatorStates(java.util.Map alertConditionEvaluatorStates)
Persists states of AlertConditionEvaluators

Parameters:
alertConditionEvaluatorStates - A Map where key is alert definition ID and value is the Serializable state of the AlertConditionEvaluator with that ID.

saveExecutionStrategyStates

void saveExecutionStrategyStates(java.util.Map executionStrategyStates)
Persists states of ExecutionStrategys

Parameters:
executionStrategyStates - A Map where key is alert definition ID and value is the Serializable state of the ExecutionStrategy with that ID.

Hyperic HQ Plugin API v. 4.4.0.2

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