Class ComputeInheritedRuleService


  • public class ComputeInheritedRuleService
    extends java.lang.Object
    Unit inherited rules service
    • Constructor Detail

      • ComputeInheritedRuleService

        public ComputeInheritedRuleService()
    • Method Detail

      • computeInheritedRules

        public java.util.Map<java.lang.String,​UnitInheritedRulesResponseModel> computeInheritedRules​(java.util.Map<java.lang.String,​UnitRuleModel> unitRulesById)
        Computes inherited rules given local unit rule definitions
        Parameters:
        unitRulesById - Map of local unit rules by unit id (the unit and all it's parents must be included)
        Returns:
        the inherited rules by unit ids