Enum Severity

    • Enum Constant Detail

      • NA

        public static final Severity NA
        Results with this severity score are not applicable to the recording, but it should be possible to view them so the user can see which results have not been possible to evaluate.
      • OK

        public static final Severity OK
        Results with this severity score should be presented as OK.
      • INFO

        public static final Severity INFO
        Results with this severity score should be presented as potential problems.
      • WARNING

        public static final Severity WARNING
        Results with this severity score should be presented as warnings.
    • Method Detail

      • values

        public static Severity[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (Severity c : Severity.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static Severity valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • getLocalizedName

        public String getLocalizedName()
      • getLimit

        public double getLimit()
      • get

        public static Severity get​(double score)