Class LocalizedSeverity
- java.lang.Object
-
- io.jenkins.plugins.analysis.core.util.LocalizedSeverity
-
public final class LocalizedSeverity extends Object
Provides localized messages forSeverity
.- Author:
- Ullrich Hafner
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
getLocalizedString(edu.hm.hafner.analysis.Severity severity)
Returns a localized description of the specified severity.static String
getLongLocalizedString(edu.hm.hafner.analysis.Severity severity)
Returns a long localized description of the specified severity.
-
-
-
Method Detail
-
getLocalizedString
public static String getLocalizedString(edu.hm.hafner.analysis.Severity severity)
Returns a localized description of the specified severity.- Parameters:
severity
- the severity to get the text for- Returns:
- localized description of the specified severity
-
getLongLocalizedString
public static String getLongLocalizedString(edu.hm.hafner.analysis.Severity severity)
Returns a long localized description of the specified severity.- Parameters:
severity
- the severity to get the text for- Returns:
- long localized description of the specified severity
-
-