Class WorkspaceFoldersOptions


  • public class WorkspaceFoldersOptions
    extends java.lang.Object
    The server supports workspace folder.

    Since 3.6.0

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object obj)  
      org.eclipse.lsp4j.jsonrpc.messages.Either<java.lang.String,​java.lang.Boolean> getChangeNotifications()
      Whether the server wants to receive workspace folder change notifications.
      java.lang.Boolean getSupported()
      The server has support for workspace folders
      int hashCode()  
      void setChangeNotifications​(java.lang.Boolean changeNotifications)  
      void setChangeNotifications​(java.lang.String changeNotifications)  
      void setChangeNotifications​(org.eclipse.lsp4j.jsonrpc.messages.Either<java.lang.String,​java.lang.Boolean> changeNotifications)
      Whether the server wants to receive workspace folder change notifications.
      void setSupported​(java.lang.Boolean supported)
      The server has support for workspace folders
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

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

      • WorkspaceFoldersOptions

        public WorkspaceFoldersOptions()
    • Method Detail

      • getSupported

        public java.lang.Boolean getSupported()
        The server has support for workspace folders
      • setSupported

        public void setSupported​(java.lang.Boolean supported)
        The server has support for workspace folders
      • getChangeNotifications

        public org.eclipse.lsp4j.jsonrpc.messages.Either<java.lang.String,​java.lang.Boolean> getChangeNotifications()
        Whether the server wants to receive workspace folder change notifications.

        If a string is provided, the string is treated as an ID under which the notification is registered on the client side. The ID can be used to unregister for these events using the `client/unregisterCapability` request.

      • setChangeNotifications

        public void setChangeNotifications​(org.eclipse.lsp4j.jsonrpc.messages.Either<java.lang.String,​java.lang.Boolean> changeNotifications)
        Whether the server wants to receive workspace folder change notifications.

        If a string is provided, the string is treated as an ID under which the notification is registered on the client side. The ID can be used to unregister for these events using the `client/unregisterCapability` request.

      • setChangeNotifications

        public void setChangeNotifications​(java.lang.String changeNotifications)
      • setChangeNotifications

        public void setChangeNotifications​(java.lang.Boolean changeNotifications)
      • 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