Class TextDocumentSyncOptions

java.lang.Object
org.graalvm.tools.lsp.server.types.JSONBase
org.graalvm.tools.lsp.server.types.TextDocumentSyncOptions

public class TextDocumentSyncOptions extends JSONBase
  • Method Details

    • getOpenClose

      public Boolean getOpenClose()
      Open and close notifications are sent to the server. If omitted open close notification should not be sent.
    • setOpenClose

      public TextDocumentSyncOptions setOpenClose(Boolean openClose)
    • getChange

      public TextDocumentSyncKind getChange()
      Change notifications are sent to the server. See TextDocumentSyncKind.None, TextDocumentSyncKind.Full and TextDocumentSyncKind.Incremental. If omitted it defaults to TextDocumentSyncKind.None.
    • setChange

      public TextDocumentSyncOptions setChange(TextDocumentSyncKind change)
    • getWillSave

      public Boolean getWillSave()
      If present will save notifications are sent to the server. If omitted the notification should not be sent.
    • setWillSave

      public TextDocumentSyncOptions setWillSave(Boolean willSave)
    • getWillSaveWaitUntil

      public Boolean getWillSaveWaitUntil()
      If present will save wait until requests are sent to the server. If omitted the request should not be sent.
    • setWillSaveWaitUntil

      public TextDocumentSyncOptions setWillSaveWaitUntil(Boolean willSaveWaitUntil)
    • getSave

      public SaveOptions getSave()
      If present save notifications are sent to the server. If omitted the notification should not be sent.
    • setSave

      public TextDocumentSyncOptions setSave(SaveOptions save)
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • create

      public static TextDocumentSyncOptions create()