Package Products :: Package ZenEvents :: Module EventClassInst :: Class EventClassPropertyMixin
[hide private]
[frames] | no frames]

Class EventClassPropertyMixin

source code

object --+
         |
        EventClassPropertyMixin
Known Subclasses:

Instance Methods [hide private]
 
applyValues(self, evt)
Modify event with values taken from dict Inst.
source code
 
formatTransform(self, transformLines)
Convenience function to number the transform info
source code
 
sendTransformException(self, eventclass, evt)
Try to convert the rather horrible looking traceback that is hard to understand into something actionable by the user.
source code
 
applyTransform(self, evt, device, component=None)
Apply transforms on an event from the top level of the Event Class Tree down to the actual Event Rules (EventClassInst)
source code
 
inheritedTransforms(self)
Make a string that brings together all the transforms inherited from the base EventClass to self.
source code
 
testTransformStyle(self)
Test our transform by compiling it.
source code
 
_eventClassPath(self)
Return the path to our current EventClassInst from the top level EventClass down.
source code
Class Variables [hide private]
  transform = ''
  _properties = {'id': 'transform', 'type': 'text', 'mode': 'w'},
Method Details [hide private]

applyValues(self, evt)

source code 

Modify event with values taken from dict Inst. Any non-None property values are applied to the event.

_eventClassPath(self)

source code 

Return the path to our current EventClassInst from the top level EventClass down. We use this to process and display the heirarchy of event transforms.