public class WorkspaceEditCapabilities
extends java.lang.Object
WorkspaceEdits| Constructor and Description |
|---|
WorkspaceEditCapabilities() |
WorkspaceEditCapabilities(java.lang.Boolean documentChanges)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
WorkspaceEditChangeAnnotationSupportCapabilities |
getChangeAnnotationSupport()
Whether the client in general supports change annotations on text edits,
create file, rename file and delete file changes.
|
java.lang.Boolean |
getDocumentChanges()
The client supports versioned document changes in
WorkspaceEdits |
java.lang.String |
getFailureHandling()
The failure handling strategy of a client if applying the workspace edit
fails.
|
java.lang.Boolean |
getNormalizesLineEndings()
Whether the client normalizes line endings to the client specific
setting.
|
java.util.List<java.lang.String> |
getResourceOperations()
The resource operations the client supports.
|
int |
hashCode() |
void |
setChangeAnnotationSupport(WorkspaceEditChangeAnnotationSupportCapabilities changeAnnotationSupport)
Whether the client in general supports change annotations on text edits,
create file, rename file and delete file changes.
|
void |
setDocumentChanges(java.lang.Boolean documentChanges)
The client supports versioned document changes in
WorkspaceEdits |
void |
setFailureHandling(java.lang.String failureHandling)
The failure handling strategy of a client if applying the workspace edit
fails.
|
void |
setNormalizesLineEndings(java.lang.Boolean normalizesLineEndings)
Whether the client normalizes line endings to the client specific
setting.
|
void |
setResourceOperations(java.util.List<java.lang.String> resourceOperations)
The resource operations the client supports.
|
java.lang.String |
toString() |
public WorkspaceEditCapabilities()
@Deprecated public WorkspaceEditCapabilities(java.lang.Boolean documentChanges)
@Pure public java.lang.Boolean getDocumentChanges()
WorkspaceEditspublic void setDocumentChanges(java.lang.Boolean documentChanges)
WorkspaceEdits@Pure public java.util.List<java.lang.String> getResourceOperations()
See ResourceOperationKind for allowed values.
Since 3.13.0
public void setResourceOperations(java.util.List<java.lang.String> resourceOperations)
See ResourceOperationKind for allowed values.
Since 3.13.0
@Pure public java.lang.String getFailureHandling()
See FailureHandlingKind for allowed values.
Since 3.13.0
public void setFailureHandling(java.lang.String failureHandling)
See FailureHandlingKind for allowed values.
Since 3.13.0
@Pure public java.lang.Boolean getNormalizesLineEndings()
If set to true the client will normalize line ending characters
in a workspace edit to the client specific new line character(s).
Since 3.16.0
public void setNormalizesLineEndings(java.lang.Boolean normalizesLineEndings)
If set to true the client will normalize line ending characters
in a workspace edit to the client specific new line character(s).
Since 3.16.0
@Pure public WorkspaceEditChangeAnnotationSupportCapabilities getChangeAnnotationSupport()
Since 3.16.0
public void setChangeAnnotationSupport(WorkspaceEditChangeAnnotationSupportCapabilities changeAnnotationSupport)
Since 3.16.0
@Pure public java.lang.String toString()
toString in class java.lang.Object@Pure public boolean equals(java.lang.Object obj)
equals in class java.lang.Object@Pure public int hashCode()
hashCode in class java.lang.Object