Package org.eclipse.lsp4j
Class Registration
- java.lang.Object
-
- org.eclipse.lsp4j.Registration
-
public class Registration extends java.lang.ObjectGeneral parameters to register for a capability.
-
-
Constructor Summary
Constructors Constructor Description Registration()Registration(java.lang.String id, java.lang.String method)Registration(java.lang.String id, java.lang.String method, java.lang.Object registerOptions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)java.lang.StringgetId()The id used to register the request.java.lang.StringgetMethod()The method / capability to register for.java.lang.ObjectgetRegisterOptions()Options necessary for the registration.inthashCode()voidsetId(java.lang.String id)The id used to register the request.voidsetMethod(java.lang.String method)The method / capability to register for.voidsetRegisterOptions(java.lang.Object registerOptions)Options necessary for the registration.java.lang.StringtoString()
-
-
-
Method Detail
-
getId
public java.lang.String getId()
The id used to register the request. The id can be used to deregister the request again.
-
setId
public void setId(java.lang.String id)
The id used to register the request. The id can be used to deregister the request again.
-
getMethod
public java.lang.String getMethod()
The method / capability to register for.
-
setMethod
public void setMethod(java.lang.String method)
The method / capability to register for.
-
getRegisterOptions
public java.lang.Object getRegisterOptions()
Options necessary for the registration.
-
setRegisterOptions
public void setRegisterOptions(java.lang.Object registerOptions)
Options necessary for the registration.
-
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
-
-