Class RuleResult

    • Constructor Detail

      • RuleResult

        public RuleResult()
    • Method Detail

      • addHidden

        public void addHidden​(IRuleTarget target)
        Adds the target to hidden targets.
        Parameters:
        target - the IRuleTarget instance, cannot be null.
      • addHidden

        public void addHidden​(Collection<? extends IRuleTarget> targets)
        Adds a collection of targets to the set of hidden targets.
        Parameters:
        targets - A collection of targets to add to hidden targets, cannot be null.
      • addDisabled

        public void addDisabled​(IRuleTarget target)
        Adds the target to disabled targets.
        Parameters:
        target - the IRuleTarget instance, cannot be null.
      • addDisabled

        public void addDisabled​(Collection<? extends IRuleTarget> targets)
        Adds a collection of targets to the set of disabled targets.
        Parameters:
        targets - A collection of targets to add to disabled targets, cannot be null.
      • removeDisabled

        public void removeDisabled​(IRuleTarget target)
        Removes the target from disabled targets.
        Parameters:
        target - the IRuleTarget instance, cannot be null.
      • removeHidden

        public void removeHidden​(IRuleTarget target)
        Removes the target from hidden targets.
        Parameters:
        target - the IRuleTarget instance, cannot be null.
      • clear

        public void clear()
        Clears the rule result.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object