Class DiagnosticWorkspaceCapabilities


  • public class DiagnosticWorkspaceCapabilities
    extends java.lang.Object
    Workspace client capabilities specific to diagnostic pull requests.

    Since 3.17.0

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object obj)  
      java.lang.Boolean getRefreshSupport()
      Whether the client implementation supports a refresh request sent from the server to the client.
      int hashCode()  
      void setRefreshSupport​(java.lang.Boolean refreshSupport)
      Whether the client implementation supports a refresh request sent from the server to the client.
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

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

      • DiagnosticWorkspaceCapabilities

        public DiagnosticWorkspaceCapabilities()
      • DiagnosticWorkspaceCapabilities

        public DiagnosticWorkspaceCapabilities​(java.lang.Boolean refreshSupport)
    • Method Detail

      • getRefreshSupport

        public java.lang.Boolean getRefreshSupport()
        Whether the client implementation supports a refresh request sent from the server to the client.

        Note that this event is global and will force the client to refresh all pulled diagnostics currently shown. It should be used with absolute care and is useful for situations where a server for example detects a project wide change that requires such a calculation.

      • setRefreshSupport

        public void setRefreshSupport​(java.lang.Boolean refreshSupport)
        Whether the client implementation supports a refresh request sent from the server to the client.

        Note that this event is global and will force the client to refresh all pulled diagnostics currently shown. It should be used with absolute care and is useful for situations where a server for example detects a project wide change that requires such a calculation.

      • 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