Top Description Fields Constructors Methods
org.eclipse.lsp4j

public final Class FailureHandlingKind

extends Object
Class Inheritance
Annotations
@SuppressWarnings:all

The kind of failure handling supported by the client.

Since 3.13.0

Field Summary

Modifier and TypeField and Description
public static final String
Abort

Applying the workspace change is simply aborted if one of the changes provided fails.

public static final String
TextOnlyTransactional

If the workspace edit contains only textual file changes they are executed transactional.

public static final String
Transactional

All operations are executed transactional.

public static final String
Undo

The client tries to undo the operations already executed.

Constructor Summary

AccessConstructor and Description
private

Method Summary

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

Abortback to summary
public static final String Abort

Applying the workspace change is simply aborted if one of the changes provided fails. All operations executed before the failing operation stay executed.

TextOnlyTransactionalback to summary
public static final String TextOnlyTransactional

If the workspace edit contains only textual file changes they are executed transactional. If resource changes (create, rename or delete file) are part of the change the failure handling strategy is abort.

Transactionalback to summary
public static final String Transactional

All operations are executed transactional. That means they either all succeed or no changes at all are applied to the workspace.

Undoback to summary
public static final String Undo

The client tries to undo the operations already executed. But there is no guarantee that this is succeeding.

Constructor Detail

FailureHandlingKindback to summary
private FailureHandlingKind()