Class ApplyWorkspaceEditResponse
java.lang.Object
org.graalvm.tools.lsp.server.types.JSONBase
org.graalvm.tools.lsp.server.types.ApplyWorkspaceEditResponse
A response returned from the apply workspace edit request.
-
Method Summary
Modifier and TypeMethodDescriptionstatic ApplyWorkspaceEditResponsebooleanDepending on the client's failure handling strategy `failedChange` might contain the index of the change that failed.An optional textual description for why the edit was not applied.inthashCode()booleanIndicates whether the edit was applied or not.setApplied(boolean applied) setFailedChange(Integer failedChange) setFailureReason(String failureReason)
-
Method Details
-
isApplied
public boolean isApplied()Indicates whether the edit was applied or not. -
setApplied
-
getFailureReason
An optional textual description for why the edit was not applied. This may be used by the server for diagnostic logging or to provide a suitable error for a request that triggered the edit. -
setFailureReason
-
getFailedChange
Depending on the client's failure handling strategy `failedChange` might contain the index of the change that failed. This property is only available if the client signals a `failureHandlingStrategy` in its client capabilities. -
setFailedChange
-
equals
-
hashCode
public int hashCode() -
create
-