Class LocalizedSeverity

java.lang.Object
io.jenkins.plugins.analysis.core.util.LocalizedSeverity

public final class LocalizedSeverity extends Object
Provides localized messages for Severity.
Author:
Ullrich Hafner
  • Method Details

    • 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