Class ValidationMessage

    • Method Detail

      • getSeverity

        @NotNull
        public @NotNull ValidationMessageSeverity getSeverity()
        Returns the severity of this message.
        Returns:
        the severity of this message
      • getMessage

        @NotNull
        public @NotNull String getMessage()
        Returns the message text.
        Returns:
        the message text
      • getLine

        public int getLine()
        Returns the line number.
        Returns:
        the line number of this violation (1-based) or 0 if not bound to any specific line number
      • getColumn

        public int getColumn()
        Returns the column number.
        Returns:
        the column number of this violation (1-based) or 0 if not bound to any specific column number
      • getThrowable

        @Nullable
        public @Nullable Throwable getThrowable()
        Returns the underlying throwable.
        Returns:
        the throwable bound to this message or null if the message has no underlying throwable
      • getFilePath

        @Nullable
        public @Nullable Path getFilePath()
      • getBasePath

        @Nullable
        public @Nullable Path getBasePath()
      • getNodePath

        @Nullable
        public @Nullable String getNodePath()
        Returns the node path bound to this message.
        Returns:
        the node path or null if the message does not belong to a specific node
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object