Package org.eclipse.lsp4j
Class NotebookCellTextDocumentFilter
- java.lang.Object
-
- org.eclipse.lsp4j.NotebookCellTextDocumentFilter
-
public class NotebookCellTextDocumentFilter extends java.lang.ObjectA notebook cell text document filter denotes a cell text document by different properties.Since 3.17.0
-
-
Constructor Summary
Constructors Constructor Description NotebookCellTextDocumentFilter()NotebookCellTextDocumentFilter(org.eclipse.lsp4j.jsonrpc.messages.Either<java.lang.String,NotebookDocumentFilter> notebook)NotebookCellTextDocumentFilter(org.eclipse.lsp4j.jsonrpc.messages.Either<java.lang.String,NotebookDocumentFilter> notebook, java.lang.String language)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)java.lang.StringgetLanguage()A language id like `python`.org.eclipse.lsp4j.jsonrpc.messages.Either<java.lang.String,NotebookDocumentFilter>getNotebook()A filter that matches against the notebook containing the notebook cell.inthashCode()voidsetLanguage(java.lang.String language)A language id like `python`.voidsetNotebook(java.lang.String notebook)voidsetNotebook(org.eclipse.lsp4j.jsonrpc.messages.Either<java.lang.String,NotebookDocumentFilter> notebook)A filter that matches against the notebook containing the notebook cell.voidsetNotebook(NotebookDocumentFilter notebook)java.lang.StringtoString()
-
-
-
Constructor Detail
-
NotebookCellTextDocumentFilter
public NotebookCellTextDocumentFilter()
-
NotebookCellTextDocumentFilter
public NotebookCellTextDocumentFilter(org.eclipse.lsp4j.jsonrpc.messages.Either<java.lang.String,NotebookDocumentFilter> notebook)
-
NotebookCellTextDocumentFilter
public NotebookCellTextDocumentFilter(org.eclipse.lsp4j.jsonrpc.messages.Either<java.lang.String,NotebookDocumentFilter> notebook, java.lang.String language)
-
-
Method Detail
-
getNotebook
public org.eclipse.lsp4j.jsonrpc.messages.Either<java.lang.String,NotebookDocumentFilter> getNotebook()
A filter that matches against the notebook containing the notebook cell. 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)
A filter that matches against the notebook containing the notebook cell. 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)
-
getLanguage
public java.lang.String getLanguage()
A language id like `python`.Will be matched against the language id of the notebook cell document. '*' matches every language.
-
setLanguage
public void setLanguage(java.lang.String language)
A language id like `python`.Will be matched against the language id of the notebook cell document. '*' matches every language.
-
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
-
-