Package org.eclipse.lsp4j
Class UnchangedDocumentDiagnosticReport
- java.lang.Object
-
- org.eclipse.lsp4j.UnchangedDocumentDiagnosticReport
-
- Direct Known Subclasses:
RelatedUnchangedDocumentDiagnosticReport,WorkspaceUnchangedDocumentDiagnosticReport
public class UnchangedDocumentDiagnosticReport extends java.lang.ObjectA diagnostic report indicating that the last returned report is still accurate.Since 3.17.0
-
-
Constructor Summary
Constructors Constructor Description UnchangedDocumentDiagnosticReport()UnchangedDocumentDiagnosticReport(java.lang.String resultId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)java.lang.StringgetKind()A document diagnostic report indicating no changes to the last result.java.lang.StringgetResultId()A result id which will be sent on the next diagnostic request for the same document.inthashCode()voidsetResultId(java.lang.String resultId)A result id which will be sent on the next diagnostic request for the same document.java.lang.StringtoString()
-
-
-
Method Detail
-
getKind
public java.lang.String getKind()
A document diagnostic report indicating no changes to the last result. A server can only return `unchanged` if result ids are provided.
-
getResultId
public java.lang.String getResultId()
A result id which will be sent on the next diagnostic request for the same document.
-
setResultId
public void setResultId(java.lang.String resultId)
A result id which will be sent on the next diagnostic request for the same document.
-
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
-
-