Package org.eclipse.lsp4j
Class WorkspaceFoldersOptions
- java.lang.Object
-
- org.eclipse.lsp4j.WorkspaceFoldersOptions
-
public class WorkspaceFoldersOptions extends java.lang.ObjectThe server supports workspace folder.Since 3.6.0
-
-
Constructor Summary
Constructors Constructor Description WorkspaceFoldersOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(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.BooleangetSupported()The server has support for workspace foldersinthashCode()voidsetChangeNotifications(java.lang.Boolean changeNotifications)voidsetChangeNotifications(java.lang.String changeNotifications)voidsetChangeNotifications(org.eclipse.lsp4j.jsonrpc.messages.Either<java.lang.String,java.lang.Boolean> changeNotifications)Whether the server wants to receive workspace folder change notifications.voidsetSupported(java.lang.Boolean supported)The server has support for workspace foldersjava.lang.StringtoString()
-
-
-
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:
toStringin classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-