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
| Modifier and Type | Field and Description |
|---|---|
| private List | notebookSelector
The notebooks to be synced |
| private Boolean | save
Whether save notification should be forwarded to the server. |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | equals(final Object obj)
Overrides java. Indicates whether some other object is "equal to" this one. |
| public List | |
| public Boolean | |
| public int | |
| public void | |
| public void | |
| public String |
| notebookSelector | back to summary |
|---|---|
| private List<NotebookSelector> notebookSelector The notebooks to be synced | |
| save | back to summary |
|---|---|
| private Boolean save Whether save notification should be forwarded to the server. Will only be honored if mode === `notebook`. | |
| NotebookDocumentSyncOptions | back to summary |
|---|---|
| public NotebookDocumentSyncOptions() | |
| NotebookDocumentSyncOptions | back to summary |
|---|---|
| public NotebookDocumentSyncOptions(final List<NotebookSelector> notebookSelector) | |
| NotebookDocumentSyncOptions | back to summary |
|---|---|
| public NotebookDocumentSyncOptions(final List<NotebookSelector> notebookSelector, final Boolean save) | |
| equals | back to summary |
|---|---|
| public boolean equals(final Object obj) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes.
| |
| getNotebookSelector | back to summary |
|---|---|
| public List The notebooks to be synced
| |
| getSave | back to summary |
|---|---|
| public Boolean getSave() Whether save notification should be forwarded to the server. Will only be honored if mode === `notebook`. | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| setNotebookSelector | back to summary |
|---|---|
| public void setNotebookSelector(final List<NotebookSelector> notebookSelector) The notebooks to be synced | |
| setSave | back to summary |
|---|---|
| public void setSave(final Boolean save) Whether save notification should be forwarded to the server. Will only be honored if mode === `notebook`. | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non-
| |