Package org.eclipse.lsp4j
Class NotebookCell
- java.lang.Object
-
- org.eclipse.lsp4j.NotebookCell
-
public class NotebookCell extends java.lang.ObjectA 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 Summary
Constructors Constructor Description NotebookCell()NotebookCell(NotebookCellKind kind, java.lang.String document)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)java.lang.StringgetDocument()The URI of the cell's text document content.ExecutionSummarygetExecutionSummary()Additional execution summary information if supported by the client.NotebookCellKindgetKind()The cell's kindjava.lang.ObjectgetMetadata()Additional metadata stored with the cell.inthashCode()voidsetDocument(java.lang.String document)The URI of the cell's text document content.voidsetExecutionSummary(ExecutionSummary executionSummary)Additional execution summary information if supported by the client.voidsetKind(NotebookCellKind kind)The cell's kindvoidsetMetadata(java.lang.Object metadata)Additional metadata stored with the cell.java.lang.StringtoString()
-
-
-
Constructor Detail
-
NotebookCell
public NotebookCell()
-
NotebookCell
public NotebookCell(NotebookCellKind kind, java.lang.String document)
-
-
Method Detail
-
getKind
public NotebookCellKind getKind()
The cell's kind
-
setKind
public void setKind(NotebookCellKind kind)
The cell's kind
-
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:
toStringin classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-