Package org.eclipse.lsp4j
Class Unregistration
- java.lang.Object
-
- org.eclipse.lsp4j.Unregistration
-
public class Unregistration extends java.lang.ObjectGeneral parameters to unregister a capability.
-
-
Constructor Summary
Constructors Constructor Description Unregistration()Unregistration(java.lang.String id, java.lang.String method)
-
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 unregister the request or notification.java.lang.StringgetMethod()The method / capability to unregister for.inthashCode()voidsetId(java.lang.String id)The id used to unregister the request or notification.voidsetMethod(java.lang.String method)The method / capability to unregister for.java.lang.StringtoString()
-
-
-
Method Detail
-
getId
public java.lang.String getId()
The id used to unregister the request or notification. Usually an id provided during the register request.
-
setId
public void setId(java.lang.String id)
The id used to unregister the request or notification. Usually an id provided during the register request.
-
getMethod
public java.lang.String getMethod()
The method / capability to unregister for.
-
setMethod
public void setMethod(java.lang.String method)
The method / capability to unregister for.
-
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
-
-