Class ValidationResult

  • All Implemented Interfaces:
    java.lang.Iterable<ValidationMessage>

    public class ValidationResult
    extends java.lang.Object
    implements java.lang.Iterable<ValidationMessage>
    Result of validating an XML report file.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      long count​(Severity severity)
      Count the number of validation messages with the supplied severity.
      java.util.Iterator<ValidationMessage> iterator()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface java.lang.Iterable

        forEach, spliterator
    • Method Detail

      • count

        public long count​(Severity severity)
        Count the number of validation messages with the supplied severity.
        Parameters:
        severity - the severity to count
        Returns:
        number of validation messages with the supplied severity
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object