Top Description Methods
org.eclipse.lsp4j

public Interface WorkDoneProgressParams

Known Direct Implementers
org.eclipse.lsp4j.InitializeParams, org.eclipse.lsp4j.TextDocumentPositionAndWorkDoneProgressParams, org.eclipse.lsp4j.ExecuteCommandParams, org.eclipse.lsp4j.InlayHintParams, org.eclipse.lsp4j.InlineValueParams, org.eclipse.lsp4j.DocumentFormattingParams, org.eclipse.lsp4j.DocumentRangeFormattingParams, org.eclipse.lsp4j.WorkDoneProgressAndPartialResultParams
Annotations
@SuppressWarnings:all
Imports
org.eclipse.lsp4j.jsonrpc.messages.Either

A parameter literal used to pass a work done progress token.

Since 3.15.0

Method Summary

Modifier and TypeMethod and Description
public Either<String, Integer>
getWorkDoneToken()

An optional token that a server can use to report work done progress.

public void
setWorkDoneToken(final Either<String, Integer> token)

An optional token that a server can use to report work done progress.

Method Detail

getWorkDoneTokenback to summary
public Either<String, Integer> getWorkDoneToken()

An optional token that a server can use to report work done progress.

setWorkDoneTokenback to summary
public void setWorkDoneToken(final Either<String, Integer> token)

An optional token that a server can use to report work done progress.