Package org.eclipse.lsp4j
Class NotebookDocumentSyncRegistrationOptions
- java.lang.Object
-
- org.eclipse.lsp4j.NotebookDocumentSyncRegistrationOptions
-
public class NotebookDocumentSyncRegistrationOptions extends java.lang.ObjectRegistration options specific to a notebook.Since 3.17.0
-
-
Constructor Summary
Constructors Constructor Description NotebookDocumentSyncRegistrationOptions()NotebookDocumentSyncRegistrationOptions(java.util.List<NotebookSelector> notebookSelector)NotebookDocumentSyncRegistrationOptions(java.util.List<NotebookSelector> notebookSelector, java.lang.Boolean save)
-
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.util.List<NotebookSelector>getNotebookSelector()The notebooks to be syncedjava.lang.BooleangetSave()Whether save notification should be forwarded to the server.inthashCode()voidsetId(java.lang.String id)The id used to register the request.voidsetNotebookSelector(java.util.List<NotebookSelector> notebookSelector)The notebooks to be syncedvoidsetSave(java.lang.Boolean save)Whether save notification should be forwarded to the server.java.lang.StringtoString()
-
-
-
Constructor Detail
-
NotebookDocumentSyncRegistrationOptions
public NotebookDocumentSyncRegistrationOptions()
-
NotebookDocumentSyncRegistrationOptions
public NotebookDocumentSyncRegistrationOptions(java.util.List<NotebookSelector> notebookSelector)
-
NotebookDocumentSyncRegistrationOptions
public NotebookDocumentSyncRegistrationOptions(java.util.List<NotebookSelector> notebookSelector, java.lang.Boolean save)
-
-
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. See alsoRegistration.id.
-
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. See alsoRegistration.id.
-
getNotebookSelector
public java.util.List<NotebookSelector> getNotebookSelector()
The notebooks to be synced
-
setNotebookSelector
public void setNotebookSelector(java.util.List<NotebookSelector> notebookSelector)
The notebooks to be synced
-
getSave
public java.lang.Boolean getSave()
Whether save notification should be forwarded to the server. Will only be honored if mode === `notebook`.
-
setSave
public void setSave(java.lang.Boolean save)
Whether save notification should be forwarded to the server. Will only be honored if mode === `notebook`.
-
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
-
-