Class DesignGapCounter


  • public class DesignGapCounter
    extends Object
    • Constructor Detail

      • DesignGapCounter

        public DesignGapCounter()
    • Method Detail

      • setDesignGapViolationCounter

        public void setDesignGapViolationCounter​(Map<String,​Integer> designGapViolationCounter)
      • getDesignGapViolationCounter

        public Map<String,​Integer> getDesignGapViolationCounter()
        Returns the current map of design gap counts
        Returns:
        design gap count hash map
      • trackDesignGapCounts

        public void trackDesignGapCounts​(int severityLevel)
        Keeps counts of different severity violations from an Oak9 scan result
        Parameters:
        severityLevel - the Violation object from which we are analyzing the severity
      • getCountForSeverity

        public Integer getCountForSeverity​(String severity)
        Get the current count for a given severity. Returns 0 if there is no set entry for the provided severity
        Parameters:
        severity - the severity for which you are requesting a count of design gaps
        Returns:
        the count of design gaps for the given severity