org.rhq.enterprise.server.alert.engine.model
Class EventCacheElement
java.lang.Object
org.rhq.enterprise.server.alert.engine.model.AbstractCacheElement<E>
org.rhq.enterprise.server.alert.engine.model.AbstractEnumCacheElement<EventSeverity>
org.rhq.enterprise.server.alert.engine.model.EventCacheElement
public class EventCacheElement
- extends AbstractEnumCacheElement<EventSeverity>
- Author:
- Joseph Marques
| Methods inherited from class org.rhq.enterprise.server.alert.engine.model.AbstractCacheElement |
equals, getAlertConditionOperator, getAlertConditionOperatorOption, getAlertConditionTriggerId, getAlertConditionValue, hashCode, isActive, isType, process, setActive, setAlertConditionValue, setNextCacheElement, toString |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
EventCacheElement
public EventCacheElement(AlertConditionOperator operator,
EventSeverity value,
int conditionTriggerId)
EventCacheElement
public EventCacheElement(AlertConditionOperator operator,
java.lang.String eventDetails,
EventSeverity value,
int conditionTriggerId)
matches
public boolean matches(EventSeverity providedValue,
java.lang.Object... extraParams)
- Overrides:
matches in class AbstractEnumCacheElement<EventSeverity>
getOperatorSupportsType
public AlertConditionOperator.Type getOperatorSupportsType(AlertConditionOperator operator)
- Description copied from class:
AbstractCacheElement
- For the most part, the operator itself denotes whether it makes comparisons against a sliding scale or not.
However, this doesn't hold in every conceivable scenario. Thus, the defaultSupportsType will support 95% of the
use cases, and the AbstractCacheElement's getOperatorSupportsType will have a chance to override this.
- Overrides:
getOperatorSupportsType in class AbstractEnumCacheElement<EventSeverity>
- See Also:
AlertConditionOperator
Copyright © 2008-2009 Red Hat, Inc.. All Rights Reserved.