Class NotebookCell


  • public class NotebookCell
    extends java.lang.Object
    A notebook cell.

    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 Detail

      • NotebookCell

        public NotebookCell()
      • NotebookCell

        public NotebookCell​(NotebookCellKind kind,
                            java.lang.String document)
    • Method Detail

      • getDocument

        public java.lang.String getDocument()
        The URI of the cell's text document content.
      • setDocument

        public void setDocument​(java.lang.String document)
        The URI of the cell's text document content.
      • getMetadata

        public java.lang.Object getMetadata()
        Additional metadata stored with the cell.
      • setMetadata

        public void setMetadata​(java.lang.Object metadata)
        Additional metadata stored with the cell.
      • getExecutionSummary

        public ExecutionSummary getExecutionSummary()
        Additional execution summary information if supported by the client.
      • setExecutionSummary

        public void setExecutionSummary​(ExecutionSummary executionSummary)
        Additional execution summary information if supported by the client.
      • 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