Class NotebookDocumentSyncOptions


  • public class NotebookDocumentSyncOptions
    extends java.lang.Object
    Options 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 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:
        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