Class OverviewModel.SeveritySegment
java.lang.Object
io.jenkins.plugins.analysis.core.model.OverviewModel.SeveritySegment
- Enclosing class:
OverviewModel
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 namedsize, sincesizeis a reserved word in JEXL (Jelly expressions).- Returns:
- the number of warnings
-
getLabel
Returns the localized name of the severity.- Returns:
- the localized name
-
getModifier
Returns the BEM modifier of the CSS class that defines the color of the segment, e.g.errororhigh.- Returns:
- the CSS modifier
-