Class WorkDoneProgressAndPartialResultParams

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object obj)  
      org.eclipse.lsp4j.jsonrpc.messages.Either<java.lang.String,​java.lang.Integer> getPartialResultToken()
      An optional token that a server can use to report partial results (e.g.
      org.eclipse.lsp4j.jsonrpc.messages.Either<java.lang.String,​java.lang.Integer> getWorkDoneToken()
      An optional token that a server can use to report work done progress.
      int hashCode()  
      void setPartialResultToken​(java.lang.Integer partialResultToken)  
      void setPartialResultToken​(java.lang.String partialResultToken)  
      void setPartialResultToken​(org.eclipse.lsp4j.jsonrpc.messages.Either<java.lang.String,​java.lang.Integer> partialResultToken)
      An optional token that a server can use to report partial results (e.g.
      void setWorkDoneToken​(java.lang.Integer workDoneToken)  
      void setWorkDoneToken​(java.lang.String workDoneToken)  
      void setWorkDoneToken​(org.eclipse.lsp4j.jsonrpc.messages.Either<java.lang.String,​java.lang.Integer> workDoneToken)
      An optional token that a server can use to report work done progress.
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

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

      • WorkDoneProgressAndPartialResultParams

        public WorkDoneProgressAndPartialResultParams()
    • Method Detail

      • getWorkDoneToken

        public org.eclipse.lsp4j.jsonrpc.messages.Either<java.lang.String,​java.lang.Integer> getWorkDoneToken()
        An optional token that a server can use to report work done progress.
        Specified by:
        getWorkDoneToken in interface WorkDoneProgressParams
      • setWorkDoneToken

        public void setWorkDoneToken​(org.eclipse.lsp4j.jsonrpc.messages.Either<java.lang.String,​java.lang.Integer> workDoneToken)
        An optional token that a server can use to report work done progress.
        Specified by:
        setWorkDoneToken in interface WorkDoneProgressParams
      • setWorkDoneToken

        public void setWorkDoneToken​(java.lang.String workDoneToken)
      • setWorkDoneToken

        public void setWorkDoneToken​(java.lang.Integer workDoneToken)
      • getPartialResultToken

        public org.eclipse.lsp4j.jsonrpc.messages.Either<java.lang.String,​java.lang.Integer> getPartialResultToken()
        An optional token that a server can use to report partial results (e.g. streaming) to the client.
        Specified by:
        getPartialResultToken in interface PartialResultParams
      • setPartialResultToken

        public void setPartialResultToken​(org.eclipse.lsp4j.jsonrpc.messages.Either<java.lang.String,​java.lang.Integer> partialResultToken)
        An optional token that a server can use to report partial results (e.g. streaming) to the client.
        Specified by:
        setPartialResultToken in interface PartialResultParams
      • setPartialResultToken

        public void setPartialResultToken​(java.lang.String partialResultToken)
      • setPartialResultToken

        public void setPartialResultToken​(java.lang.Integer partialResultToken)
      • 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