ConditionalTriggerInterface (Hyperic HQ Plugin API)
Keywords: org.hyperic.hq.bizapp.server.trigger.conditional.ConditionalTriggerInterface 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.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

Field Summary
`static java.lang.String` | `CFG_COMPARATOR`
`static java.lang.String` | `CFG_ID`
`static java.lang.String` | `CFG_NAME`
`static java.lang.String` | `CFG_OPTION`
`static java.lang.String` | `CFG_THRESHOLD`
`static java.lang.String` | `CFG_TYPE`
`static java.util.HashMap` | `MAP_COND_TRIGGER`

Method Summary
`ConfigResponse` | `getConfigResponse(AppdefEntityID id, AlertConditionValue cond)` Translate alert condition to config response object
`ConfigSchema` | `getConfigSchema()` Return the schema for the configuration of this trigger.

Field Detail

### 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

Method Detail

### 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.

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.