Class InhibitRule

    • Constructor Detail

      • InhibitRule

        public InhibitRule()
        No args constructor for use in serialization
    • Method Detail

      • getEqual

        public List<String> getEqual()
        equal defines labels that must have an equal value in the source and target alert for the inhibition to take effect. This ensures related alerts are properly grouped.
      • setEqual

        public void setEqual​(List<String> equal)
        equal defines labels that must have an equal value in the source and target alert for the inhibition to take effect. This ensures related alerts are properly grouped.
      • getSourceMatch

        public List<Matcher> getSourceMatch()
        sourceMatch defines matchers for which one or more alerts have to exist for the inhibition to take effect. The operator enforces that the alert matches the resource's namespace. These are the "trigger" alerts that cause other alerts to be inhibited.
      • setSourceMatch

        public void setSourceMatch​(List<Matcher> sourceMatch)
        sourceMatch defines matchers for which one or more alerts have to exist for the inhibition to take effect. The operator enforces that the alert matches the resource's namespace. These are the "trigger" alerts that cause other alerts to be inhibited.
      • getTargetMatch

        public List<Matcher> getTargetMatch()
        targetMatch defines matchers that have to be fulfilled in the alerts to be muted. The operator enforces that the alert matches the resource's namespace. When these conditions are met, matching alerts will be inhibited (silenced).
      • setTargetMatch

        public void setTargetMatch​(List<Matcher> targetMatch)
        targetMatch defines matchers that have to be fulfilled in the alerts to be muted. The operator enforces that the alert matches the resource's namespace. When these conditions are met, matching alerts will be inhibited (silenced).
      • getAdditionalProperties

        public Map<String,​Object> getAdditionalProperties()
      • setAdditionalProperty

        public void setAdditionalProperty​(String name,
                                          Object value)
      • setAdditionalProperties

        public void setAdditionalProperties​(Map<String,​Object> additionalProperties)