Package org.eclipse.lsp4j
Class NotebookSelector
- java.lang.Object
-
- org.eclipse.lsp4j.NotebookSelector
-
public class NotebookSelector extends java.lang.ObjectThe notebooks to be synced.At least one of either
notebookorcellsis required.Since 3.17.0
-
-
Constructor Summary
Constructors Constructor Description NotebookSelector()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)java.util.List<NotebookSelectorCell>getCells()The cells of the matching notebook to be synced.org.eclipse.lsp4j.jsonrpc.messages.Either<java.lang.String,NotebookDocumentFilter>getNotebook()The notebook to be synced.inthashCode()voidsetCells(java.util.List<NotebookSelectorCell> cells)The cells of the matching notebook to be synced.voidsetNotebook(java.lang.String notebook)voidsetNotebook(org.eclipse.lsp4j.jsonrpc.messages.Either<java.lang.String,NotebookDocumentFilter> notebook)The notebook to be synced.voidsetNotebook(NotebookDocumentFilter notebook)java.lang.StringtoString()
-
-
-
Method Detail
-
getNotebook
public org.eclipse.lsp4j.jsonrpc.messages.Either<java.lang.String,NotebookDocumentFilter> getNotebook()
The notebook to be synced. If a string value is provided it matches against the notebook type. '*' matches every notebook.
-
setNotebook
public void setNotebook(org.eclipse.lsp4j.jsonrpc.messages.Either<java.lang.String,NotebookDocumentFilter> notebook)
The notebook to be synced. If a string value is provided it matches against the notebook type. '*' matches every notebook.
-
setNotebook
public void setNotebook(java.lang.String notebook)
-
setNotebook
public void setNotebook(NotebookDocumentFilter notebook)
-
getCells
public java.util.List<NotebookSelectorCell> getCells()
The cells of the matching notebook to be synced.
-
setCells
public void setCells(java.util.List<NotebookSelectorCell> cells)
The cells of the matching notebook to be synced.
-
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
-
-