org.hyperic.hq.bizapp.server.trigger.conditional
Interface ConditionalTriggerInterface
- All Known Implementing Classes:
- AlertTrigger, ConfigChangedTrigger, ControlEventTrigger, CustomPropertyTrigger, LogEventTrigger, MeasurementThresholdTrigger, ValueChangeTrigger
public interface ConditionalTriggerInterface
Interface for triggers that derive its configuration values from
AlertCondition
CFG_ID
static final java.lang.String CFG_ID
- See Also:
- Constant Field Values
CFG_COMPARATOR
static final java.lang.String CFG_COMPARATOR
- See Also:
- Constant Field Values
CFG_NAME
static final java.lang.String CFG_NAME
- See Also:
- Constant Field Values
CFG_OPTION
static final java.lang.String CFG_OPTION
- See Also:
- Constant Field Values
CFG_THRESHOLD
static final java.lang.String CFG_THRESHOLD
- See Also:
- Constant Field Values
CFG_TYPE
static final java.lang.String CFG_TYPE
- See Also:
- Constant Field Values
MAP_COND_TRIGGER
static final java.util.HashMap MAP_COND_TRIGGER
getConfigResponse
ConfigResponse getConfigResponse(AppdefEntityID id,
AlertConditionValue cond)
throws InvalidOptionException,
InvalidOptionValueException
- Translate alert condition to config response object
- Parameters:
cond
- the alert condition
- Returns:
- the equivalent config response object
- Throws:
InvalidOptionException
InvalidOptionValueException
getConfigSchema
ConfigSchema getConfigSchema()
- Return the schema for the configuration of this trigger. This does not
actually get called by anyone, it's here to enforce the authors of
triggers to implement getConfigSchema() for the CLI.
Copyright © 2004-2006 Hyperic, Inc. support@hyperic.net, All Rights Reserved.