Package org.eclipse.lsp4j
Class RegistrationParams
- java.lang.Object
-
- org.eclipse.lsp4j.RegistrationParams
-
public class RegistrationParams extends java.lang.Object
The client/registerCapability request is sent from the server to the client to register for a new capability on the client side. Not all clients need to support dynamic capability registration. A client opts in via the dynamicRegistration property on the specific client capabilities. A client can even provide dynamic registration for capability A but not for capability B (see TextDocumentClientCapabilities as an example).
-
-
Constructor Summary
Constructors Constructor Description RegistrationParams()
RegistrationParams(java.util.List<Registration> registrations)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
java.util.List<Registration>
getRegistrations()
int
hashCode()
void
setRegistrations(java.util.List<Registration> registrations)
java.lang.String
toString()
-
-
-
Constructor Detail
-
RegistrationParams
public RegistrationParams()
-
RegistrationParams
public RegistrationParams(java.util.List<Registration> registrations)
-
-
Method Detail
-
getRegistrations
public java.util.List<Registration> getRegistrations()
-
setRegistrations
public void setRegistrations(java.util.List<Registration> registrations)
-
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
-
-