Class NotebookCellTextDocumentFilter


  • public class NotebookCellTextDocumentFilter
    extends java.lang.Object
    A notebook cell text document filter denotes a cell text document by different properties.

    Since 3.17.0

    • 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)
      • 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:
        toString in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object