public enum TextDocumentSyncKind extends java.lang.Enum<TextDocumentSyncKind>
| Enum Constant and Description |
|---|
Full
Documents are synced by always sending the full content of the document.
|
Incremental
Documents are synced by sending the full content on open.
|
None
Documents should not be synced at all.
|
| Modifier and Type | Method and Description |
|---|---|
static TextDocumentSyncKind |
forValue(int value) |
static TextDocumentSyncKind |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TextDocumentSyncKind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TextDocumentSyncKind None
public static final TextDocumentSyncKind Full
public static final TextDocumentSyncKind Incremental
public static TextDocumentSyncKind[] values()
for (TextDocumentSyncKind c : TextDocumentSyncKind.values()) System.out.println(c);
public static TextDocumentSyncKind valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic static TextDocumentSyncKind forValue(int value)