Package Products :: Package ZenEvents :: Package events2 :: Module processing :: Class TransformPipe |
[hide private]
[frames] | no frames]

# Class TransformPipe

source code

            object --+
                     |
    EventProcessorPipe --+
                         |
                        TransformPipe

Instance Methods | [hide private]
_tagEventClasses(self, eventContext, eventClass) Adds a set of tags for the hierarchy of event classes for this event NOTE: We must tag the event classes at this part of the pipeline before a mapping has been applied otherwise the mapping instance won't be tagged, just the Event Class that was mapped. | source code
__call__(self, eventContext) Called in a chain, must return modified eventContext. | source code
Inherited from `EventProcessorPipe`: `__init__`

Class Variables | [hide private]
| EVENT_CLASS_TAG = `'zenoss.event.event_class'`
| ACTION_HISTORY = `'history'`
| ACTION_DROP = `'drop'`
| ACTION_STATUS = `'status'`
| ACTION_HEARTBEAT = `'heartbeat'`
| ACTION_LOG = `'log'`
| ACTION_ALERT_STATE = `'alert_state'`
| ACTION_DETAIL = `'detail'`
| ACTION_STATUS_MAP = `{ACTION_HISTORY: STATUS_CLOSED, ACTION_STA`...``
Inherited from `EventProcessorPipe`: `dependencies`

Method Details | [hide private]

### __call__(self, eventContext) (Call operator) | source code
Called in a chain, must return modified eventContext. Overrides: EventProcessorPipe.__call__ (inherited documentation)

Class Variable Details | [hide private]

  ### ACTION_STATUS_MAP Value:
      {ACTION_HISTORY: STATUS_CLOSED, ACTION_STATUS: STATUS_NEW, ACTION_DROP
      : STATUS_DROPPED,}