Package org.eclipse.lsp4j.debug
Class CapabilitiesEventArguments
- java.lang.Object
-
- org.eclipse.lsp4j.debug.CapabilitiesEventArguments
-
public class CapabilitiesEventArguments extends java.lang.Object
The event indicates that one or more capabilities have changed.Since the capabilities are dependent on the client and its UI, it might not be possible to change that at random times (or too late).
Consequently this event has a hint characteristic: a client can only be expected to make a 'best effort' in honoring individual capabilities but there are no guarantees.
Only changed capabilities need to be included, all other capabilities keep their values.
Represents the
body
ofCapabilitiesEvent
defined in spec.
-
-
Constructor Summary
Constructors Constructor Description CapabilitiesEventArguments()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
Capabilities
getCapabilities()
The set of updated capabilities.int
hashCode()
void
setCapabilities(Capabilities capabilities)
The set of updated capabilities.java.lang.String
toString()
-
-
-
Method Detail
-
getCapabilities
public Capabilities getCapabilities()
The set of updated capabilities.
-
setCapabilities
public void setCapabilities(Capabilities capabilities)
The set of updated capabilities.
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-