Trees | Index | Help |
|
---|
Package ZenEvents :: Module Event :: Class Event |
|
object
--+
|
Event
EventHeartbeat
,
MailEvent
,
SyslogEvent
,
ZEvent
Method Summary | |
---|---|
__init__(self,
rcvtime,
**kwargs)
| |
Return a list of classes that this event clears. | |
return a list of data elements that map to the fields parameter. | |
Return list of dedupid fields. | |
return an list of event data | |
return an array of event fields tuples (field,value) | |
Update event from dict. | |
Update event from list of fields and list of data values. | |
Inherited from object :
__delattr__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__str__
|
Method Details |
---|
clearClasses(self)Return a list of classes that this event clears. if we have specified clearClasses always return them if we ave a 0 severity return ourself as well. |
getDataList(self, fields)return a list of data elements that map to the fields parameter. |
getDedupFields(self, default)Return list of dedupid fields. |
getEventData(self)return an list of event data |
getEventFields(self)return an array of event fields tuples (field,value) |
updateFromDict(self, data)Update event from dict. Keys that don't match attributes are put into the detail list of the event. |
updateFromFields(self, fields, data)Update event from list of fields and list of data values. They must have the same length. To be used when pulling data from the backend db. |
Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Thu Aug 16 09:55:16 2007 | http://epydoc.sf.net |