Module modeling :: Class _ProcessMatcher :: Class PropertyMatchRule
[hide private]

Class PropertyMatchRule

source code

_ProcessMatcher.Rule --+
                       |
                      _ProcessMatcher.PropertyMatchRule

Rule which verifies that perticular property of process matches the regex. Currently works for String properties or properties that can be converted to String. Will raise exception if defined property is not found.

Instance Methods [hide private]
 
__init__(self, targetProperty, pattern, flags=0) source code
 
matches(self, processDo) source code
 
_getProperty(self, processDo) source code
Method Details [hide private]

__init__(self, targetProperty, pattern, flags=0)
(Constructor)

source code 
Overrides: Rule.__init__

matches(self, processDo)

source code 
Overrides: Rule.matches