Class PersistentReporter.Diagnostic

  • Enclosing class:
    PersistentReporter

    public static class PersistentReporter.Diagnostic
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      Diagnostic​(java.lang.String message, java.lang.Boolean isError)  
      Diagnostic​(java.lang.String message, java.lang.Boolean isError, Position position)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getMessage()  
      java.util.Optional<Position> getPosition()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Diagnostic

        public Diagnostic​(java.lang.String message,
                          java.lang.Boolean isError,
                          Position position)
      • Diagnostic

        public Diagnostic​(java.lang.String message,
                          java.lang.Boolean isError)
    • Method Detail

      • getPosition

        public java.util.Optional<Position> getPosition()
      • getMessage

        public java.lang.String getMessage()