public class NotebookCell
extends java.lang.Object
A cell's document URI must be unique across ALL notebook cells and can therefore be used to uniquely identify a notebook cell or the cell's text document.
Since 3.17.0
| Constructor and Description |
|---|
NotebookCell() |
NotebookCell(NotebookCellKind kind,
java.lang.String document) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getDocument()
The URI of the cell's text document
content.
|
ExecutionSummary |
getExecutionSummary()
Additional execution summary information
if supported by the client.
|
NotebookCellKind |
getKind()
The cell's kind
|
java.lang.Object |
getMetadata()
Additional metadata stored with the cell.
|
int |
hashCode() |
void |
setDocument(java.lang.String document)
The URI of the cell's text document
content.
|
void |
setExecutionSummary(ExecutionSummary executionSummary)
Additional execution summary information
if supported by the client.
|
void |
setKind(NotebookCellKind kind)
The cell's kind
|
void |
setMetadata(java.lang.Object metadata)
Additional metadata stored with the cell.
|
java.lang.String |
toString() |
public NotebookCell()
public NotebookCell(NotebookCellKind kind, java.lang.String document)
@Pure public NotebookCellKind getKind()
public void setKind(NotebookCellKind kind)
@Pure public java.lang.String getDocument()
public void setDocument(java.lang.String document)
@Pure public java.lang.Object getMetadata()
public void setMetadata(java.lang.Object metadata)
@Pure public ExecutionSummary getExecutionSummary()
public void setExecutionSummary(ExecutionSummary executionSummary)
@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