Class OverviewModel.SeveritySegment

java.lang.Object
io.jenkins.plugins.analysis.core.model.OverviewModel.SeveritySegment
Enclosing class:
OverviewModel

public static class OverviewModel.SeveritySegment extends Object
A segment of the severity bar: the number of warnings of a given severity.
  • Method Details

    • getCount

      public int getCount()
      Returns the number of warnings with this severity. Used as relative width of the segment. Note that this property must not be named size, since size is a reserved word in JEXL (Jelly expressions).
      Returns:
      the number of warnings
    • getLabel

      public String getLabel()
      Returns the localized name of the severity.
      Returns:
      the localized name
    • getModifier

      public String getModifier()
      Returns the BEM modifier of the CSS class that defines the color of the segment, e.g. error or high.
      Returns:
      the CSS modifier