Package org.eclipse.lsp4j
Class DidSaveTextDocumentParams
- java.lang.Object
-
- org.eclipse.lsp4j.DidSaveTextDocumentParams
-
public class DidSaveTextDocumentParams extends java.lang.ObjectThe document save notification is sent from the client to the server when the document was saved in the client.
-
-
Constructor Summary
Constructors Constructor Description DidSaveTextDocumentParams()DidSaveTextDocumentParams(TextDocumentIdentifier textDocument)DidSaveTextDocumentParams(TextDocumentIdentifier textDocument, java.lang.String text)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)java.lang.StringgetText()Optional the content when saved.TextDocumentIdentifiergetTextDocument()The document that was closed.inthashCode()voidsetText(java.lang.String text)Optional the content when saved.voidsetTextDocument(TextDocumentIdentifier textDocument)The document that was closed.java.lang.StringtoString()
-
-
-
Constructor Detail
-
DidSaveTextDocumentParams
public DidSaveTextDocumentParams()
-
DidSaveTextDocumentParams
public DidSaveTextDocumentParams(TextDocumentIdentifier textDocument)
-
DidSaveTextDocumentParams
public DidSaveTextDocumentParams(TextDocumentIdentifier textDocument, java.lang.String text)
-
-
Method Detail
-
getTextDocument
public TextDocumentIdentifier getTextDocument()
The document that was closed.
-
setTextDocument
public void setTextDocument(TextDocumentIdentifier textDocument)
The document that was closed.
-
getText
public java.lang.String getText()
Optional the content when saved. Depends on the includeText value when the save notification was requested.
-
setText
public void setText(java.lang.String text)
Optional the content when saved. Depends on the includeText value when the save notification was requested.
-
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
-
-