Referred to as ApplyWorkspaceEditResult in the LSP spec.
| Modifier and Type | Field and Description |
|---|---|
| private boolean | applied
Indicates whether the edit was applied or not. |
| private Integer | failedChange
Depending on the client's failure handling strategy `failedChange` might contain the index of the change that failed. |
| private String | failureReason
An optional textual description for why the edit was not applied. |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | equals(final Object obj)
Overrides java. Indicates whether some other object is "equal to" this one. |
| public Integer | getFailedChange()
Depending on the client's failure handling strategy `failedChange` might contain the index of the change that failed. |
| public String | |
| public int | |
| public boolean | |
| public void | |
| public void | setFailedChange(final Integer failedChange)
Depending on the client's failure handling strategy `failedChange` might contain the index of the change that failed. |
| public void | setFailureReason(final String failureReason)
An optional textual description for why the edit was not applied. |
| public String |
| applied | back to summary |
|---|---|
| private boolean applied Indicates whether the edit was applied or not. | |
| failedChange | back to summary |
|---|---|
| private Integer failedChange 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 | |
| failureReason | back to summary |
|---|---|
| private String failureReason 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. | |
| ApplyWorkspaceEditResponse | back to summary |
|---|---|
| public ApplyWorkspaceEditResponse() | |
| ApplyWorkspaceEditResponse | back to summary |
|---|---|
| public ApplyWorkspaceEditResponse(final boolean applied) | |
| equals | back to summary |
|---|---|
| public boolean equals(final Object obj) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes.
| |
| getFailedChange | back to summary |
|---|---|
| public Integer 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 | |
| getFailureReason | back to summary |
|---|---|
| public String 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. | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| isApplied | back to summary |
|---|---|
| public boolean isApplied() Indicates whether the edit was applied or not. | |
| setApplied | back to summary |
|---|---|
| public void setApplied(final boolean applied) Indicates whether the edit was applied or not. | |
| setFailedChange | back to summary |
|---|---|
| public void setFailedChange(final Integer failedChange) 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 | |
| setFailureReason | back to summary |
|---|---|
| public void setFailureReason(final String failureReason) 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. | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non-
| |