public class NotebookCellTextDocumentFilter
extends java.lang.Object
Since 3.17.0
| Constructor and 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) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getLanguage()
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.
|
int |
hashCode() |
void |
setLanguage(java.lang.String language)
A language id like `python`.
|
void |
setNotebook(org.eclipse.lsp4j.jsonrpc.messages.Either<java.lang.String,NotebookDocumentFilter> notebook)
A filter that matches against the notebook
containing the notebook cell.
|
void |
setNotebook(NotebookDocumentFilter notebook) |
void |
setNotebook(java.lang.String notebook) |
java.lang.String |
toString() |
public NotebookCellTextDocumentFilter()
public NotebookCellTextDocumentFilter(org.eclipse.lsp4j.jsonrpc.messages.Either<java.lang.String,NotebookDocumentFilter> notebook)
public NotebookCellTextDocumentFilter(org.eclipse.lsp4j.jsonrpc.messages.Either<java.lang.String,NotebookDocumentFilter> notebook, java.lang.String language)
@Pure public org.eclipse.lsp4j.jsonrpc.messages.Either<java.lang.String,NotebookDocumentFilter> getNotebook()
public void setNotebook(org.eclipse.lsp4j.jsonrpc.messages.Either<java.lang.String,NotebookDocumentFilter> notebook)
public void setNotebook(java.lang.String notebook)
public void setNotebook(NotebookDocumentFilter notebook)
@Pure public java.lang.String getLanguage()
Will be matched against the language id of the notebook cell document. '*' matches every language.
public void setLanguage(java.lang.String language)
Will be matched against the language id of the notebook cell document. '*' matches every language.
@Pure public java.lang.String toString()
toString in class java.lang.Object@Pure public boolean equals(java.lang.Object obj)
equals in class java.lang.Object@Pure public int hashCode()
hashCode in class java.lang.Object