Package org.eclipse.lsp4j
Class UnchangedDocumentDiagnosticReport
- java.lang.Object
-
- org.eclipse.lsp4j.UnchangedDocumentDiagnosticReport
-
- Direct Known Subclasses:
RelatedUnchangedDocumentDiagnosticReport
,WorkspaceUnchangedDocumentDiagnosticReport
public class UnchangedDocumentDiagnosticReport extends java.lang.Object
A 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 boolean
equals(java.lang.Object obj)
java.lang.String
getKind()
A document diagnostic report indicating no changes to the last result.java.lang.String
getResultId()
A result id which will be sent on the next diagnostic request for the same document.int
hashCode()
void
setResultId(java.lang.String resultId)
A result id which will be sent on the next diagnostic request for the same document.java.lang.String
toString()
-
-
-
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:
toString
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-