Class TextDocumentSyncOptions


  • public class TextDocumentSyncOptions
    extends java.lang.Object
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object obj)  
      TextDocumentSyncKind getChange()
      Change notifications are sent to the server.
      java.lang.Boolean getOpenClose()
      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.Boolean getWillSave()
      Will save notifications are sent to the server.
      java.lang.Boolean getWillSaveWaitUntil()
      Will save wait until requests are sent to the server.
      int hashCode()  
      void setChange​(TextDocumentSyncKind change)
      Change notifications are sent to the server.
      void setOpenClose​(java.lang.Boolean openClose)
      Open and close notifications are sent to the server.
      void setSave​(java.lang.Boolean save)  
      void setSave​(org.eclipse.lsp4j.jsonrpc.messages.Either<java.lang.Boolean,​SaveOptions> save)
      Save notifications are sent to the server.
      void setSave​(SaveOptions save)  
      void setWillSave​(java.lang.Boolean willSave)
      Will save notifications are sent to the server.
      void setWillSaveWaitUntil​(java.lang.Boolean willSaveWaitUntil)
      Will save wait until requests are sent to the server.
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • TextDocumentSyncOptions

        public TextDocumentSyncOptions()
    • 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.
      • 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)
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object