Part of lp.services.features.rulesource View In Hierarchy
Known subclasses: lp.services.features.rulesource.MemoryFeatureRuleSource, lp.services.features.rulesource.NullFeatureRuleSource, lp.services.features.rulesource.StormFeatureRuleSource
Method | getAllRulesAsDict | Return all rule definitions. |
Method | getAllRulesAsTuples | Generate list of (flag, scope, priority, value) |
Method | getAllRulesAsText | Return a text for of the rules. |
Method | setAllRulesFromText | Update all rules from text input. |
Method | parseRules | Return a list of tuples for the parsed form of the text input. |
Returns | dict from flag name to a list of (scope, priority, value) in descending order by priority. |
This has one line per rule, with tab-separate (flag, scope, prioirity, value), as used in the flag editor web interface.