Interface Severity


  • @Incubating
    public interface Severity
    Represents a problem severity.
    Since:
    8.6
    • Field Detail

      • ADVICE

        static final Severity ADVICE
        Advice-level severity.
        Since:
        8.6
      • WARNING

        static final Severity WARNING
        Warning-level severity.
        Since:
        8.6
      • ERROR

        static final Severity ERROR
        Error-level severity.
        Since:
        8.6
    • Method Detail

      • getSeverity

        int getSeverity()
        The severity level represented by a string.
        Returns:
        the severity
        Since:
        8.6
      • isKnown

        boolean isKnown()
        Returns true if this severity is one of ADVICE, WARNING, or ERROR.
        Returns:
        if this instance is a known severity
        Since:
        8.6