Since 3.6.0
| Modifier and Type | Field and Description |
|---|---|
| private Either | changeNotifications
Whether the server wants to receive workspace folder change notifications. |
| private Boolean | supported
The server has support for workspace folders |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | equals(final Object obj)
Overrides java. Indicates whether some other object is "equal to" this one. |
| public Either | |
| public Boolean | |
| public int | |
| public void | setChangeNotifications(final Either<String, Boolean> changeNotifications)
Whether the server wants to receive workspace folder change notifications. |
| public void | |
| public void | |
| public void | |
| public String |
| changeNotifications | back to summary |
|---|---|
| private Either<String, 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. | |
| supported | back to summary |
|---|---|
| private Boolean supported The server has support for workspace folders | |
| WorkspaceFoldersOptions | back to summary |
|---|---|
| public WorkspaceFoldersOptions() | |
| equals | back to summary |
|---|---|
| public boolean equals(final Object obj) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes.
| |
| getChangeNotifications | back to summary |
|---|---|
| public Either 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. | |
| getSupported | back to summary |
|---|---|
| public Boolean getSupported() The server has support for workspace folders | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| setChangeNotifications | back to summary |
|---|---|
| public void setChangeNotifications(final Either<String, 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 | back to summary |
|---|---|
| public void setChangeNotifications(final String changeNotifications) | |
| setChangeNotifications | back to summary |
|---|---|
| public void setChangeNotifications(final Boolean changeNotifications) | |
| setSupported | back to summary |
|---|---|
| public void setSupported(final Boolean supported) The server has support for workspace folders | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non-
| |