Package org.eclipse.lsp4j
Class NotebookDocumentSyncOptions
- java.lang.Object
-
- org.eclipse.lsp4j.NotebookDocumentSyncOptions
-
public class NotebookDocumentSyncOptions extends java.lang.ObjectOptions specific to a notebook plus its cells to be synced to the server.If a selector provides a notebook document filter but no cell selector all cells of a matching notebook document will be synced.
If a selector provides no notebook document filter but only a cell selector all notebook documents that contain at least one matching cell will be synced.
Since 3.17.0
-
-
Constructor Summary
Constructors Constructor Description NotebookDocumentSyncOptions()NotebookDocumentSyncOptions(java.util.List<NotebookSelector> notebookSelector)NotebookDocumentSyncOptions(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.util.List<NotebookSelector>getNotebookSelector()The notebooks to be syncedjava.lang.BooleangetSave()Whether save notification should be forwarded to the server.inthashCode()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
-
NotebookDocumentSyncOptions
public NotebookDocumentSyncOptions()
-
NotebookDocumentSyncOptions
public NotebookDocumentSyncOptions(java.util.List<NotebookSelector> notebookSelector)
-
NotebookDocumentSyncOptions
public NotebookDocumentSyncOptions(java.util.List<NotebookSelector> notebookSelector, java.lang.Boolean save)
-
-
Method Detail
-
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
-
-