Class PublishDiagnosticsParams


  • public class PublishDiagnosticsParams
    extends java.lang.Object
    Diagnostics notification are sent from the server to the client to signal results of validation runs.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object obj)  
      java.util.List<Diagnostic> getDiagnostics()
      An array of diagnostic information items.
      java.lang.String getUri()
      The URI for which diagnostic information is reported.
      java.lang.Integer getVersion()
      Optional the version number of the document the diagnostics are published for.
      int hashCode()  
      void setDiagnostics​(java.util.List<Diagnostic> diagnostics)
      An array of diagnostic information items.
      void setUri​(java.lang.String uri)
      The URI for which diagnostic information is reported.
      void setVersion​(java.lang.Integer version)
      Optional the version number of the document the diagnostics are published for.
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • PublishDiagnosticsParams

        public PublishDiagnosticsParams()
      • PublishDiagnosticsParams

        public PublishDiagnosticsParams​(java.lang.String uri,
                                        java.util.List<Diagnostic> diagnostics)
      • PublishDiagnosticsParams

        public PublishDiagnosticsParams​(java.lang.String uri,
                                        java.util.List<Diagnostic> diagnostics,
                                        java.lang.Integer version)
    • Method Detail

      • getUri

        public java.lang.String getUri()
        The URI for which diagnostic information is reported.
      • setUri

        public void setUri​(java.lang.String uri)
        The URI for which diagnostic information is reported.
      • getDiagnostics

        public java.util.List<Diagnostic> getDiagnostics()
        An array of diagnostic information items.
      • setDiagnostics

        public void setDiagnostics​(java.util.List<Diagnostic> diagnostics)
        An array of diagnostic information items.
      • getVersion

        public java.lang.Integer getVersion()
        Optional the version number of the document the diagnostics are published for.

        Since 3.15.0

      • setVersion

        public void setVersion​(java.lang.Integer version)
        Optional the version number of the document the diagnostics are published for.

        Since 3.15.0

      • toString

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

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object