class Mobi::Mtld::Da::Device::PostWalkRules

Copyright
Author

Constants

KEY_MATCHER_PROP_IDS_IN_USE
KEY_OPERATOR
KEY_PROPERTY_MATCHER

Constants to make keys more readable

KEY_PROPERTY_VALUE
KEY_RULE_ARR
KEY_RULE_GROUPS
KEY_RULE_PROP_IDS_IN_USE
KEY_RULE_SET
KEY_RULE_SET_COUNT

Attributes

branch[RW]
tree_provider[RW]

Public Class Methods

new(tree_provider, type) click to toggle source

Protected Instance Methods

init_get_matcher_propery_ids(group, prop_ids) click to toggle source

Find all the properties that are used for matching. This is needed in case the DeviceApi.properties function is called as we need these properties for the rules to work correctly.

group

The rule group that can contain a property matcher.

prop_ids

The list of found property IDs.

return

An updated set of property IDs.

init_rule_sets(group) click to toggle source

Prepare the rule set

group

The current parent group.

return

A list of all rule sets.