Package org.eclipse.lsp4j
Class TextDocumentSyncOptions
- java.lang.Object
-
- org.eclipse.lsp4j.TextDocumentSyncOptions
-
public class TextDocumentSyncOptions extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description TextDocumentSyncOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)TextDocumentSyncKindgetChange()Change notifications are sent to the server.java.lang.BooleangetOpenClose()Open and close notifications are sent to the server.org.eclipse.lsp4j.jsonrpc.messages.Either<java.lang.Boolean,SaveOptions>getSave()Save notifications are sent to the server.java.lang.BooleangetWillSave()Will save notifications are sent to the server.java.lang.BooleangetWillSaveWaitUntil()Will save wait until requests are sent to the server.inthashCode()voidsetChange(TextDocumentSyncKind change)Change notifications are sent to the server.voidsetOpenClose(java.lang.Boolean openClose)Open and close notifications are sent to the server.voidsetSave(java.lang.Boolean save)voidsetSave(org.eclipse.lsp4j.jsonrpc.messages.Either<java.lang.Boolean,SaveOptions> save)Save notifications are sent to the server.voidsetSave(SaveOptions save)voidsetWillSave(java.lang.Boolean willSave)Will save notifications are sent to the server.voidsetWillSaveWaitUntil(java.lang.Boolean willSaveWaitUntil)Will save wait until requests are sent to the server.java.lang.StringtoString()
-
-
-
Method Detail
-
getOpenClose
public java.lang.Boolean getOpenClose()
Open and close notifications are sent to the server. If omitted open close notifications should not be sent.
-
setOpenClose
public void setOpenClose(java.lang.Boolean openClose)
Open and close notifications are sent to the server. If omitted open close notifications should not be sent.
-
getChange
public TextDocumentSyncKind getChange()
Change notifications are sent to the server. If omitted it defaults toTextDocumentSyncKind.None.
-
setChange
public void setChange(TextDocumentSyncKind change)
Change notifications are sent to the server. If omitted it defaults toTextDocumentSyncKind.None.
-
getWillSave
public java.lang.Boolean getWillSave()
Will save notifications are sent to the server.
-
setWillSave
public void setWillSave(java.lang.Boolean willSave)
Will save notifications are sent to the server.
-
getWillSaveWaitUntil
public java.lang.Boolean getWillSaveWaitUntil()
Will save wait until requests are sent to the server.
-
setWillSaveWaitUntil
public void setWillSaveWaitUntil(java.lang.Boolean willSaveWaitUntil)
Will save wait until requests are sent to the server.
-
getSave
public org.eclipse.lsp4j.jsonrpc.messages.Either<java.lang.Boolean,SaveOptions> getSave()
Save notifications are sent to the server.
-
setSave
public void setSave(org.eclipse.lsp4j.jsonrpc.messages.Either<java.lang.Boolean,SaveOptions> save)
Save notifications are sent to the server.
-
setSave
public void setSave(java.lang.Boolean save)
-
setSave
public void setSave(SaveOptions save)
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-