Class ConsoleMessage


  • public class ConsoleMessage
    extends java.lang.Object
    Console message.
    • Constructor Summary

      Constructors 
      Constructor Description
      ConsoleMessage​(ConsoleMessage.Source source, ConsoleMessage.Level level, java.lang.String text, java.util.Optional<java.lang.String> url, java.util.Optional<java.lang.Integer> line, java.util.Optional<java.lang.Integer> column)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Optional<java.lang.Integer> getColumn()
      Column number in the resource that generated this message (1-based).
      ConsoleMessage.Level getLevel()
      Message severity.
      java.util.Optional<java.lang.Integer> getLine()
      Line number in the resource that generated this message (1-based).
      ConsoleMessage.Source getSource()
      Message source.
      java.lang.String getText()
      Message text.
      java.util.Optional<java.lang.String> getUrl()
      URL of the message origin.
      • Methods inherited from class java.lang.Object

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

      • ConsoleMessage

        public ConsoleMessage​(ConsoleMessage.Source source,
                              ConsoleMessage.Level level,
                              java.lang.String text,
                              java.util.Optional<java.lang.String> url,
                              java.util.Optional<java.lang.Integer> line,
                              java.util.Optional<java.lang.Integer> column)
    • Method Detail

      • getText

        public java.lang.String getText()
        Message text.
      • getUrl

        public java.util.Optional<java.lang.String> getUrl()
        URL of the message origin.
      • getLine

        public java.util.Optional<java.lang.Integer> getLine()
        Line number in the resource that generated this message (1-based).
      • getColumn

        public java.util.Optional<java.lang.Integer> getColumn()
        Column number in the resource that generated this message (1-based).